What he is explaining

Can anyone send me algo and logic for this . This is totally insane what he is explaining and please dont come and ask what you hadn’t understood again I’m telling nothing I had understood .

@rssrivastavarohan hey ,you have to use dequeu data structure here.Refer to this video:


You wil get the logic and if you don’t get the logic after seeing one time than please see it again as no teacher teaches bad it all depends on you :slight_smile:And feel free to ask any doubt.

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.