Segment tree query case

I don’t understand the complete overlap case condition of query in segment tree, please elaborate!

hello @pratyush34

Can you give me an example with values where this condition will occur because I can’t find this condition met ever in dry run.

query for range [1… 3]

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.