Tip 1 : Be confident
Tip 2 : Be Clear about your question
Tip 3 : Do practise atleast 150-200 DSA questions
Tip 1 : mention those technology where you feel confident
Tip 2 : Clear you resume
This round consists of 50 MCQs related to pointers, output prediction, OOPs, and some programming fundamentals questions. The time duration for the round was 50 minutes. Some aptitude questions were also there. Having a decent knowledge of OOPs and pointers will be an advantage to qualify for this round.


1) Digits of the number should be in the range [1,9] and can’t repeat.
2) The length of the string should be less than or equal to 8.



1. A binary tree is a tree in which each node can have at most two children.
2. The given tree will be non-empty i.e the number of non-NULL nodes will always be greater than or equal to 1.
3. Multiple nodes in the tree can have the same values, all values in the tree will be positive.


If ‘N’ = 5 and K = 2
[1, 2, 3, 4, 5]
Then the output will be [1, 4, 3, 2, 5].
The round starts with an introduction. The interviewer was very friendly. He didn’t ask much about my projects and suddenly shifted to DSA questions. The whole Interview was taken on Calyxpod. He asked me two questions. The duration of the interview was about 1 hour and 15 minutes. Questions are:






• 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.
Given binary tree:

In the given binary tree, subtree rooted at 2 is a BST and its size is 3.



Try to solve the problem in 'Single Scan'. ' Single Scan' refers to iterating over the array/list just once or to put it in other words, you will be visiting each element in the array/list just once.
There were two Interviewers. The duration of the interview was about 2 hours and 45 minutes. Yes, you read it right, around 3 hrs. They ask me two DSA questions during the whole round. Questions are:



The last house is similar to a leaf node in a binary tree and a house that is present at ‘K’ distance from the last house should be the direct ancestor of this last house.

In this example :
2 is the direct ancestor of 4 and 5.
1 is the direct ancestor of 2, 3, 4, and 5.



1. Node ‘U’ is said to be a sibling of node ‘V’ if and only if both ‘U’ and ‘V’ have the same parent.
2. Root 1 is a sibling node.

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