Tip 1 : Keep your good projects ready in Resume and be ready to explain design related questions. They are looking for approaches.
Tip 2 : Practice by writing the code from scratch and not completing a simple function.
Tip 3 : Good Communication skills will be an added advantage.
Tip 1 : Keep your 2 best projects and interview experiences.
Tip 2 : NEVER put things that you don't thoroughly know.
4 questions. 2 hard, 1 medium, 1 easy. Those who were able to 2.5 questions were shortlisted. 2 DP Questions Hard, 1 Graph medium and 1 easy array based question.



Used DFS and Flood Fill Algorithm.
Face to Face Interaction. Project discussion in great depth. Talked about Machine learning.



str = "ababc"
The longest palindromic substring of "ababc" is "aba", since "aba" is a palindrome and it is the longest substring of length 3 which is a palindrome.
There is another palindromic substring of length 3 is "bab". Since starting index of "aba" is less than "bab", so "aba" is the answer.
A twisted level of Longest Palindromic Substring. If you know the approach for this, the question was a cakewalk.
Very tough Data structure questions to get the most optimum approach only.



If the given linked list is 1 -> 2 -> 3 -> 4 -> 5 -> NULL.
Then rearrange it into 1 -> 5 -> 2 -> 4 -> 3 -> NULL.
Use a Stack based approach storing the heads in 2 stacks. Reverse the second half and join the linked list.



Consider the array {2,1,5,6,3,8} and 'K' = 3, the sorted array will be {8, 6, 5, 3, 2, 1}, and the 3rd largest element will be 5.
1) Kth largest element in an array is the kth element of the array when sorted in non-increasing order.
2) All the elements of the array are pairwise distinct.
I used a heap based approach and so did it in O(Log(n)). Interviewers told me to optimise so I did it with a Dequeue in O(n).

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