Tip 1 : Practice Question Smartly(select question wisely)
Tip 2 : Be confident
Tip 3 : Work hard
Tip 1 : Keep it simple
Tip 2 : Mention things at which u are confident
The interview started with a brief discussion of one of the projects mentioned in my resume, then the interviewer fast-forwarded to a coding problem. I was coding on a Google Doc which the interviewer was examining at the same time. The solution to the question involved knowledge of stack, and built-around logic definitely. I was able to solve this question but was asked to optimize it further. I couldn’t think about the optimization part before a small hint was given to me by the interviewer itself. I coded the additional optimization logic too as I could grasp the hint quickly.
In the end, the interviewer gave me the chance to ask him a question. And with this, the interview ended leaving me with no positive or negative feedback about my performance.



If the given string is “aaBBccc” then the frequency of characters: { a:2, B:2, c:3 }. Now, as ‘a’ and ‘B’ both have the same frequency 2, we need to delete one character either one ‘a’ or one ‘B’, to make their frequency different. After deleting any character we will get frequency as 1,2 and 3, as they all are different. Thus we got our solution as 1.
The interviewer straight-forwardly jumped into the question.
PS: There were 2 interviewers in this round.




1. Make in-place changes, that is, modify the nodes given a binary tree to get the required mirror tree.
Time — 45 minutes
Questions asked — 2



The Linked Lists, where a1, a2, c1, c2, c3 is the first linked list and b1, b2, b3, c1, c2, c3 is the second linked list, merging at node c1.




String 'S' is NOT case sensitive.
Let S = “c1 O$d@eeD o1c”.
If we ignore the special characters, whitespaces and convert all uppercase letters to lowercase, we get S = “c1odeedo1c”, which is a palindrome. Hence, the given string is also a palindrome.

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?