Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1: Mention the side projects which reflect the work done on server side
Tip 2: Mention how your work impacted the organisation in brief.
All rounds were conducted online only.
First round was taken by a Senior Software developer. She was really polite and patient. She asked for my intro and my present experience.
• 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 problem could have been solved in two ways,, simplest one would have been to store the inorder traversal of the binary tree in an array and then check if the array is in strictly ascending order or not. But it would have taken extra space other than that of stack during recursion.
Other Approach was to keep the track of parent left and parent right at at every step check for the condition whether left parent is smaller than root and right parent is greater than the root.
Can you solve each query in O(logN) ?
It is similar to search in a sorted array using binary search, only catch here is at each midpoint we need to check whether left or right part is sorted. If our target lies in the range of sorted part, we can do a binary search in that part, otherwise repeat the same process for another part.
Second Round was taken by an experienced Tech Lead. She was again very polite and friendly. She asked me to give a brief introduction and explain the projects I have done so far.
In then existing role, I was primarily working on react redux, i gave her an overview of the product I was working on while stating the importance of redux like state management technologies.
What is a monolothic architecture?
What is a Micro service architecture?
When would you go for monolithic architecture sometimes?
What advantages does micro service architecture hold again monolithic?
Tip 1: Have clear understanding of monolithic and microservices
Tip 2: Good to say a few points where you have seen the microservice architecture in action
The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then the reverse linked list is 4 -> 3 -> 2 -> 1 -> NULL and the head of the reversed linked list will be 4.
Can you solve this problem in O(N) time and O(1) space complexity?
This problem was straight forward and primarily interviewer wanted to see the knowledge of pointers.
When would you choose a NoSQL db over sql DB?
Tip 1: Know the use cases of NoSQL DB such as convenient for storing unstructured data
Tip 2: Know the benefits of using SQL DB such as relational support and methodological approach while designing.
Third round was taken by a director of technology. As usual this round started with the introduction and my expectations from the organization. Interviewer sounded strict but was friendly enough.
Given a table of states having a column which specifies the live number of deliveries made till time, suggest an approach how would you go about updating its records in real time.
Approach : I think Web Sockets was crucial for this.
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is the purpose of the < title > tag in HTML?