Tip 1 : Firstly pick any coding language and learn all basic concepts
Tip 2 : Then start learning diff Data Structures and practise at least 50 questions on each data structure with learnt coding language.
Tip 3 : Also prepare DBMS , OS and OOPs concepts for placement preparation.
Tip 1 : Keep it concise and simple
Tip 2 : Be truthful



Perform each query on the original array only i.e. every output should be according to the original order of elements.
Let the array be [1, 2, 3, 4, 5, 6] and the queries be {2, 4, 1}. For every query, we’ll perform the required number of left rotations on the array.
For the first query, rotate the given array to the left by 2 elements, so the resultant array is: [3, 4, 5, 6, 1, 2].
For the second query, rotate the given array to the left by 4 elements, so the resultant array is: [5, 6, 1, 2, 3, 4].
For the third query, rotate the given array to the left by 1 element, so the resultant array is: [2, 3, 4, 5, 6, 1].



‘?’ – matches any single character
‘*’ – Matches any sequence of characters(sequence can be of length 0 or more)





Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?