how is fast and slow working, please explain.
How is fast and slow working, please explain
hello @sauzepplin
slow pointer takes one jump at a time.
whereas fast pointer takes 2 jump at at time beucase of which fast move with double speed than slow.
pls read about hare and tortoise algorithm for better understanding of the algorithm
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.