Tip 1 : Be thorough with the content of your resume
Tip 2 : Make sure to explain your projects well
Tip 3 : Practice some coding questions
Tip 1 : Add some projects positively
Tip 2 : Mention your college coursework
Had around 30 MCQs , and 5-6 coding questions which needed high level OOPS concepts.



1. The array consists of only 3 distinct integers 0, 1, 2.
2. The array is non-empty.
Firstly , I gave an approach of swapping the elements on the basis of their values i.e. Bubblesort , but this should've been done for all the elements , thus resulting in O(n2) complexity. Then , I was asked to optimize the solution & then I gave the MergeSort approach which runs in O(nlogn) complexity where n is the number of elements in the array.
Frog and Well Puzzle : A frog is at the bottom of a 30 meter well. Each day he summons enough energy for one 3 meter leap up the well. Exhausted, he then hangs there for the rest of the day. At night, while he is asleep, he slips 2 meters backwards. How many days does it take him to escape from the well?
So the resultant distance travelled by frog is 1 meter per day. Therefore till 27th day , it travels 27 meters but on the 28th day , it jumps & crosses the boundary of the well & thus does not slip back resulting in crossing the entire well in 28 days.
Tip 1: Listen the question properly
Tip 2: Ask clarifying questions
Tip 3: Dry run the puzzle to get better understanding
Some basic coding questions were asked such as Palindrome checking , coding the string characters to numbers etc. Along with some puzzles



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.
This is the very basic problem. Keep 2 pointers , one at beginning and one at end , traverse till half of the string and keep comparing the characters. If at any time the characters become not same , then it is not Palindrome , else the string is Palindrome.



1. Choose an index i (1 <= i <= N - 1) and swap A[i] and A[i+1].
2. Choose an index i (1 <= i <= N - K + 1) and if A[i], A[i+1],. . . . , A[i+K-1] all are equal to some character x (x != ‘z’), then you can replace each one with the next character (x + 1) , i.e. ‘a’ is replaced by ‘b’, ‘b’ is replaced by ‘c’ and so on.
You are allowed to perform any operation any number of times(possibly zero) only on string 'A'.
If the given strings are A = ‘xbbx’ and B = ‘xddx’ and K is given as 2. Then it is possible to convert string A into B by applying the second operation two times on index 2 (1 based indexing).

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?