Tip 1 : practice on gfg and coding ninjas
Tip 2 : compete in online coding contests
Tip 3 : learn DSA and practice regularly from GFG or leetcode
Tip 1 : put your entire valuable experience in brief
Tip 2 : put the handle of you competitive coding profiles
Timing (10 am- 11 am)
For this round I had slightly more time than the last, due to the fact that the weekend fell in between.The interviewer was very very cool and helping this time, something which I kept at the last in my list of probable things that can happen during an interview. Duration of this round was around 45 minutes.
• 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.
Level 1:
All the nodes in the left subtree of 4 (2, 1, 3) are smaller
than 4, all the nodes in the right subtree of the 4 (5) are
larger than 4.
Level 2 :
For node 2:
All the nodes in the left subtree of 2 (1) are smaller than
2, all the nodes in the right subtree of the 2 (3) are larger than 2.
For node 5:
The left and right subtrees for node 5 are empty.
Level 3:
For node 1:
The left and right subtrees for node 1 are empty.
For node 3:
The left and right subtrees for node 3 are empty.
Because all the nodes follow the property of a binary search tree, the above tree is a binary search tree.
This round was on call where I was just supposed to answer the HRquestions that were asked. It started with a brief interview with one another and then moved to questions on DBMS, operating systems, computer networks and all. Almost 10-15 questions were asked and I probably answered 90% of them correctly.
Assume you are hired, then how long would you expect to work for us?
How would you rate yourself on a scale of 1 to 10?
Tip 1 : Try answering in an optimistic manner
Tip 2 : relating the real life examples to support your points will be very helpful
Tip 3 : putting all the energy and showing the enthusiasm is also very important
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What does print(2 ** 3) output in Python?