Tip 1 : Practice above 200 questions on DSA.
Tip 2 : Ask Questions to Interviewer
Tip 3 : Don't give up on questions easily, should try at least even if you have not prepared that topic. Tell him that you have not prepared that topic but you want to give it a try.
Tip 1 : Have some projects on resume
Tip 2 : Be honest while mentioning things in resume.
this round contains 3 coding questions on Hackerrank. All are of moderate level.Platform was fast and responsive, and we were not allowed to switch through tabs during the test.





Consider M = 2 and the array ARR = [ 3, 4, 5, 3 ]
If we remove the second and the third box, then all the boxes remaining on the table will have label 3. Hence, the minimum number of distinct labels left will be 1 in this case.



Let S = “abdd” and X = “bd”.
The windows in S which contain all the characters in X are: 'abdd', 'abd', 'bdd', 'bd'.
Out of these, the smallest substring in S which contains all the characters present in X is 'bd'.
All the other substring have a length larger than 'bd'.
Interviewer asked me 2 coding question . Both are of easy to moderate level.He also asked some questions on My projects. Explain React state and props. What are keys in React?



1. Buying a stock and then selling it is called one transaction.
2. You are not allowed to do multiple transactions at the same time. This means you have to sell the stock before buying it again.
Input: ‘n’ = 7, ‘prices’ = [3, 3, 5, 0, 3, 1, 4].
Output: 6
Explanation:
The maximum profit can be earned by:
Transaction 1: Buying the stock on day 4 (price 0) and then selling it on day 5 (price 3).
Transaction 2: Buying the stock on day 6 (price 1) and then selling it on day 6 (price 4).
Total profit earned will be (3 - 0) + ( 4 - 1) = 6.



1. The array follows 0-based indexing, so you need to return the 0-based index of the element.
2. Note that the element at the equilibrium index won’t be considered for either left sum or right sum.
3. If there are multiple indices which satisfy the given condition, then return the left-most index i.e if there are indices i,j,k…. which are equilibrium indices, return the minimum among them
4. If no such index is present in the array, return -1.
Interviewer asked me 2 coding question . Both are of easy to moderate level. What are different types of lists in HTML? What is the ‘class’ attribute in HTML?



'S' = "{}()".
There is always an opening brace before a closing brace i.e. '{' before '}', '(' before ').
So the 'S' is Balanced.



You need to return the head to the doubly linked list.
The doubly linked list would be: 1 2 3 4 5 and can be represented as:

Fourth round was HR round.
He asked me various scenario based Managerial Questions and common HR questions.
Why should we hire you?
What are your hobbies?
Tip 1 : Be clear about your thoughts and convey them crisply and clearly.
Tip 2 : Maintain a good speech rate and answer the questions in simple and to the point sentences.
Tip 3 : Speak Confidently.

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