Tip 1 : Be clear with the Basics of DSA
Tip 2 : Practice few questions from every Topic
Tip 1 : Be clear what you are doing in current company
Tip 2 : Have some personal projects as well.
DSA Based Round



1. You can return the list of values in any order. For example, if a valid triplet is {1, 2, -3}, then {2, -3, 1}, {-3, 2, 1} etc is also valid triplet. Also, the ordering of different triplets can be random i.e if there are more than one valid triplets, you can return them in any order.
2. The elements in the array need not be distinct.
3. If no such triplet is present in the array, then return an empty list, and the output printed for such a test case will be "-1".
used 3 pointer approach with Time complexity: O(N^2).



You are given ‘ARR’ = {1, 2, 2, 3, 3} and ‘K’ = 2.
The answer will {2, 3} as 2 and 3 are the elements occurring most times.
used Heap-based approach to solve
DSA based Round



For the BST given below:
The inorder predecessor of 6 is 4.
The inorder successor of 6 is 7.
The inorder predecessor of 10 is 8.
The inorder successor of 10 is 13.
If there is no inorder predecessor or successor of 'X', then add -1 to the answer vector in its place.



Input: 'arr' = [1,1,2,2,4,5,5]
Output: 4
Explanation:
Number 4 only appears once the array.
Exactly one number in the array 'arr' appears once.
expected solution in LogN time. Used Binary Search Approach.
Hiring Manager Round
Had a discussion with HM on Basic LLD concepts.
Had a discussion on projects mentioned in my Resume.
Had a deep discussion on the current work I was doing in my current company.
Behavioral Questions were also asked.

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