Tip 1 : Practise DSA by writing on paper
Tip 2 : Ask questions and think loud during interviews
Tip 1 : make sure the resume is not more than 1 page long
Tip 2 : provide links to projects in resume
two questions, no proctoring, the questions were very easy

The cost array is a permutation of the first M natural numbers.
The shop has unlimited supplies of candies.
In case of multiple permutations, print one which is lexicographically minimum.
Let’s say ‘N’ = 3 , ‘M’ = 5
The integers told by children are { {2 , 4 , 1} ,{1 , 3 , 2} , {3, 3 , 5} }
The optimal permutation will be {3 2 1 4 5}
Costs paid by Ninja are 7, 12, and 5, respectively.
The total cost would be 7 + 12 + 5 = 24



Each pair should be sorted i.e the first value should be less than or equals to the second value.
Return the list of pairs sorted in non-decreasing order of their first value. In case if two pairs have the same first value, the pair with a smaller second value should come first.
Technical round focused on DSA



2nd Technical round based on DSA



If there are any duplicates in the given array we will count only one of them in the consecutive sequence.
For the given 'ARR' [9,5,4,9,10,10,6].
Output = 3
The longest consecutive sequence is [4,5,6].
Can you solve this in O(N) time and O(N) space complexity?
AA round with a senior employee



• The left subtree of a node contains only nodes with data less than the node’s data.
• The right subtree of a node contains only nodes with data greater than the node’s data.
• Both the left and right subtrees must also be binary search trees.
For the given BST:

The modified BST will be:


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?