This video is a solution to Leet code 61, Rotate List. I explain the question, go over the logic / theory behind solving the question and finally solve it using Python code.
Comment below if you have a better solution to this problem!
Let me know if you have any feedback and don't forget to subscribe for more videos!
Code: https://leetcode.com/problems/rotate-...)
More leetcode questions solved:
• Add and Search Word - Data structure ...
Timestamps:
0:00 Question Explained
2:27 Solution 1 (explained + code)
9:44 Solution 2 (explained + code)
Gear used:
Mic: https://amzn.to/3awi3b6
Drawing pad: https://amzn.to/2O7PaaU