Python Projects
Link
click to show
click to show
Practice Code: 053
Task:
You have to create a program where a list of numbers is given and a number of rotation is given. Now you to bring last number of list in front and swift each number to the right. Do this till the given number of rotation.
Sample :-
input - [1,2,3,4] , 2
output - [4,1,2,3] -> [3,4,1,2]
Good luck!
««« Click here for solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #numbers #algorithm
71 · 64.2K ·