Tip 1 : Practice coding along with pseudo code and MCQs
Tip 2 : Give more importance to communication skills
Tip 3 : Should have done hands on in at least one project
Tip 1 : Give details about project clearly and on point
Tip 2 : Should give correct details and space for extra curricular activities
It was the first round which consisted numbers of MCQs and 2 coding questions


Input: [1,2,3,4,5]
Output: [5,4,3,2,1]

As it was clearly mentioned to use recursion, I used recursion for solving this question



If more than one such contiguous subarrays exist, consider the subarray having the smallest leftmost index.
For example - if A is [1, 2, 2, 3, 1, 3 ] and k = 2 then the subarrays: [1,2], [2,3], [3,1], [1,3] are the smallest subarrays containing 2 distinct elements. In this case, we will consider the starting and ending index of subarray [1,2] i.e. 0 and 1.
I used sliding window approach
Timing was at morning around 10 am


‘S’ = “aabcd”, ‘M’ = 2, ‘A’ = [0, 1]
After 1st operation i.e, reversing from [0, 4], ‘S’ = “dcbaa”.
After 2nd operation i.e, reversing from [1, 3], ‘S’ = “dabca”.
Hence, the answer is “dabca”.
Tip 1 : Do practice coding in Java or C# in skill rack
At late evening, The interview was scheduled. It was a basic HR Round
Tip 1 : Be honest and confident in your answers
Tip 2 : Don't fake anything

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
To make an AI less repetitive in a long paragraph, you should increase: