Regarding the statement written in video

– int mid=(s+e)
or --int mid=(s+e)>>1 is not affecting the anwer but in the video 2 nd one is written , what is the reason?

hello @sushantshukla92
both are same , u can use any of them

both are same that i know that’s the reason they are giving same answer, but what does >>1 mean in the statement.

that is shift operator . (u will learn about it in ur bitwise playlist).

check this-> left / right shift operator

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.