Tip 1 : Anything written on the resume should be answerable.
Tip 2 : Have a strong hold on your projects
Tip 1 : Keep it precise.
Tip 2 : Anything written on the resume should be answerable.
The test consisted of 2 problems: one was a medium stack question, and the other was a hard queue question.



Swap 1: We swap adjacent elements 90 and 21. So, ARR after one swap is [70, 60, 21, 90, 11].
Swap 2: We swap adjacent elements 60 and 21. So, ARR after one swap is [70, 21, 60, 90, 11].
Swap 3: We swap adjacent elements 70 and 21. So, ARR after one swap is [21, 70, 60, 90, 11].
The lexicographically smallest ARR after K = 3 swaps is [21, 70, 60, 90, 11].


The given queue will always be of even length.
If N= 10
and Q = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100]
then the output will be
Q = [10, 60, 20, 70, 30, 80, 40, 90, 50, 100]
The round started by the introduction and by the discussion on the project and hobbies. Then the interviewer started with the 2 DSA question and there was other question also.



Input: ‘S’ =’badam’
Output: ‘ada’
‘ada’ is the longest palindromic substring, and it can be proved that it is the longest possible palindromic substring.
This was a fairly easy question I have practiced the same question a number of times



'S' = "{}()".
There is always an opening brace before a closing brace i.e. '{' before '}', '(' before ').
So the 'S' is Balanced.
In this explained the interviewer the stack based approach, was not asked to code
Find the 2nd highest salary from the table. (Practice)
In this round I was asked just 1 easy DSA question, and the focus was on the project.



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].
Explain your project to me, assuming that I am a tech beginner.
Why Blockchain?
The discussion was very deep and took place for more than 30 minutes there were many questions regarding how the blockchain technology worked and real-life use cases and how it could be beneficial for a financial company like Paytm.

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: