DAY 14: Rotate array by K elements
Intro (very important, read this)
Day 14 and today I realized one thing very clearly —rotation problems are not hard, they are just confusing at first glance.
Left rotate, right rotate, k steps, index shifting…initially your brain goes: “bhai kya ho ...
richak.hashnode.dev4 min read