Tip 1 : Practice DSA questions, puzzle questions
Tip 2 : Time management while online assessment
Tip 3 : Mention projects in resume
Tip 1 : Mention skills relevant to the role
Tip 2 : Add projects along with contribution
After resume shortlisting I received a test link for online assessment which was 1hr 34 minutes long. The test window was open for for 24 hrs. The platform was good and I was able to attempt all questions.



A : [1, 3]
B : [4, 2]
K: 2
The possible sum combinations can be 5(3 + 2), 7(3 + 4), 3(1 + 2), 5(1 + 4).
The 2 maximum sum combinations are 7 and 5.


1. Both the strings are non-empty and are of the same length.
2. You can apply the above operations any number of times on ‘S’.
3. The operations can only be applied on the string ‘S’.
4. ‘S’ and 'R' consist of lowercase letters only.
I was asked easy-medium level DSA questions, then later to code my approach along with time and space complexities.
I also did dry run for my code and it was running as expected.




Try to make a dry run for better understanding, don't jump to solution directly.
Discuss approach with the interviewer and explain intuition for the approach.
I was given coding questions (based on priority queue), I asked few questions and came up with an approach. I explained my approach and made a dry run on my approach. I was able to code without any help.
I explained time and space complexities.
I was also asked few questions on OS and I was not able to answer one question which the interviewer explained me.
I also asked which tech stack is been used and then the interviewer explained about work and which technology is used.


1. Push(num): Push the given number in the stack.
2. Pop: Remove and return the top element from the stack if present, else return -1.
3. Top: return the top element of the stack if present, else return -1.
4. getMin: Returns minimum element of the stack if present, else return -1.
For the following input:
1
5
1 1
1 2
4
2
3
For the first two operations, we will just insert 1 and then 2 into the stack which was empty earlier. So now the stack is => [2,1]
In the third operation, we need to return the minimum element of the stack, i.e., 1. So now the stack is => [2,1]
For the fourth operation, we need to pop the topmost element of the stack, i.e., 2. Now the stack is => [1]
In the fifth operation, we return the top element of the stack, i.e. 1 as it has one element. Now the stack is => [1]
So, the final output will be:
1 2 1
I implemented the stack and also executed the program which was running as expected. I implemented the methods but was not able to think for optimal approach, which later I was able to code with some help.


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

I was not able to think for a solutions, later I got an approach which I first discussed and then I was able to code.
I also used recursive approach to solve this question.
HR asked me about my education, college, projects, intenships and a small introduction. Then HR gave me a puzzle to solve.
I took time to solve puzzle but missed one puzzle.
What is your final year project and mention your contribution.
Tip 1 : Give the problem statment and reason for picking project idea.
Tip 2 : Explained the technologies used and reason (why React, why not Angular)
Tip 3 : Explain your contribution, skills you learned and implemented.
There are N balls out of which one ball is heavy in weight and rest are of the same weight. In how many occurrences will you find the heavy ball?
Tip 1 : Understand problem properly
Tip 2 : If not sure, ask for a explanation
Tip 3 : Be interactive, don't get lost
Give a triangle, draw two small triangles within the large triangle with some consitions.
Tip 1 : If not sure how to proceed, explain what you understood and request for a little explanation
Tip 2 : Discuss your thought process
Any experience in back-end and front-end?
Tip 1 : I said honest answer that I have worked on few skills but if required I am ready to start with new skill.
Tip 2 : Mention technical skills

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?