you are given an array, you have to right shift or left shift that array by K elements. K will be given as input.
Anonymous
It was basic leetcode question, so i have previously solved that and answered it correctly.
Check out your Company Bowl for anonymous work chats.