How do you rotate an array by k positions? (In-place vs extra space) | Arrays and Strings | Data-Structures Interview Questions | NextRound.in