Dout in complete overlap condition

for complete overlap in video they are saying that node range should lie completely inside query range but the condition that is put is (ss>=qs and,se<=qe) which actually would mean reerse of what its said

hello @mansi25

complete overlap means the node at which we are currenly at is completely lying inside the query that we have made.

here ss and se are starting and ending index of current node.
and qs and qe are starting and ending index of query.
so for complete ovrlap
(ss>=qs and,se<=qe)
this should the conditon

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.