Require that an interval [l1, r1] contains another interval [l2, r2]. If not possible, returns 0.
[l1, r1]
[l2, r2]
First interval [l1, r1]
Second interval [l2, r2]
Require that an interval
[l1, r1]
contains another interval[l2, r2]
. If not possible, returns 0.