Tip 1 : Prepare DSA well and I personally recommend Coding Ninjas and GeeksForGeeks for interview preparation.
Tip 2 : Be confident & relaxed during the interview.
Tip 3 : Do revise your projects i.e how it works and what are its functionalities.
Tip 1 : Make your resume short and try to make it one page only and mention all your skills that you are confident in.
Tip 2 : Do not put false things on your resume.
2 Coding Questions



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


Subsequences of string "abc" are: ""(empty string), a, b, c, ab, bc, ac, abc.
By using Memorization Approach
2 Coding Questions



If the input tree is as depicted in the picture:
The Left View of the tree will be: 2 35 2
By using Level Order traversal (BFS)


Note that if Ninja reaches a particular stop with no fuel, it can still fill his tank at that stop and continue his journey ahead. Similarly, if he reaches his destination with no fuel, it is still considered to have arrived.
Given X = 10, Y = 4, ARR[Y] = {[1, 6], [2, 3], [3, 3], [6, 4]} and Z = 1
So the path followed in this case would look like this:
Ninja starts with 1L of gas.
Drives to the first gas station at position 1, using 1L of gas, then refueling with 6L of gas.
Then, drive to position 6, using 5L of gas, then refueling 4L in the current 1L of gas, making it a total of 5L of gas.
Finally, drive to the destination consuming 4L of gas.
So, Ninja made 2 refueling stops before reaching the destination. So, you need to print 2.
By Using Priority Queue
Asked some OOPS question and Coding Question, I don't remember OOPS Question but I do remember the coding question.


str = “ababba”, k = 3.
In this example, If we remove one ‘b’ from the 3rd position, then the final string will be “ababa” which is a palindrome.
Hence the answer will be True.
Solve this question by using Two Pointers
Interviewer also gave some hints.

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