Tip 1 : Must prepare well for Java programming
Tip 2 : Aptitude in screening test in a bit tricky
Tip 3 : Must have good understanding of optimal solution in respect to time and space complexity
Tip 1 : Prior experience with Java programming is an add on
Tip 2 : Resume should not be of more than 1 page
The comprised of four round -
1. Aptitude
2. English
3. Personality
4. Programming



The same word from a dictionary can be used as many times as possible to make sentences.
Split the string and then return the length of the the last element of the array



Note: Since the number of ways can be very large, return the answer modulo 1000000007.
N=3

We can climb one step at a time i.e. {(0, 1) ,(1, 2),(2,3)} or we can climb the first two-step and then one step i.e. {(0,2),(1, 3)} or we can climb first one step and then two step i.e. {(0,1), (1,3)}.
Created an array of length N+1 to store the previous result and solve the problem using memorization
This was the first technical round where the interviewer evaluated you on basic concepts of OOPS and java programming



Can you try to solve it in O(N) time ?
actually this is a brutal method
try to find all the possible pairs such that abs(nums[i] - nums[j]) <= t
check the possible pairs whether its abs(i - j) <= k
the key is skip the unnecessary loop



1. The array may contain duplicate elements.
2. The array can also contain negative integers.
3. Every element of the subsequence must be greater than or equal to the previous element.
This was the final technical round with the Tech Lead of the company where the candidate was evaluated over multiple data structure and algorithm questions



Given BST will not contain duplicates.
A Binary Search Tree (BST) whose 2 nodes have been swapped is shown below.

After swapping the incorrect nodes:

Can you do this without using any extra space?

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?