So underrated. Explained really well! Thank you so much! I just started my leetcode journey and this was my first problem, without this video it'd all seem nearly impossible for me!
Bhayya,we dont need one more hop to move to exact location but adding 1 to formula gives the current location of the element..isn't it??? correct me if m wrong
Code: leetcode.com/problems/pass-the-pillow/solutions/3259675/white-board-solution-o-1-solution-video-solution-intution/
This was really a nice explanation. Thanks bro. Your style somewhat matches with striver's style and I love this style.
So underrated. Explained really well! Thank you so much! I just started my leetcode journey and this was my first problem, without this video it'd all seem nearly impossible for me!
You made my day !! 😊😊
Very well explained .... Thanks 🙂
good one
Bhayya,we dont need one more hop to move to exact location but adding 1 to formula gives the current location of the element..isn't it??? correct me if m wrong
Amazing
return (time / (n-1) % 2 == 0) ? (1+time%(n-1)) : (n-time%(n-1)) ;
Thanks bro
bhai pehle aap khud ka sajha lo
bad explanation bro