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 : Have at least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
1. It was an online coding round
2. It started on 5pm and ended by 7:25 pm
3. There was a coding round, code debugging, aptitude & reasoning and working culture rounds.



If N = 2 and prerequisite = [[1, 2]]. Then, there are a total of 2 courses you need to take. To take course 1 you need to finish course 2. So, it is possible to complete all courses.
Standard question on Topological Sort. Solved using Kahn's Algo



• 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.
1) Do In-Order Traversal of the given tree and store the result in a temp array.
2) This method assumes that there are no duplicate values in the tree.
3) Check if the temp array is sorted in ascending order, if it is, then the tree is BST.
Time Complexity: O(n)
There was an intro in the start. He asked few questions related to current achievements. Then he made me solve 2 coding problems.



I know this as I have already solved it before.
We can hash the addresses of the linked list nodes in an unordered map and just check if the element already exists in the map. If it exists, we have reached a node which already exists by a cycle, hence we need to make the last node’s next pointer NULL.



1. The grid has 0-based indexing.
2. A rotten orange can affect the adjacent oranges 4 directionally i.e. Up, Down, Left, Right.
Solved using multisource BFS
There was an intro in the start. He asked about the types of problems asked in previous round and asked me what kind of difficulties I have faced. Again, I was asked to solve 2 problems.



‘T’ will represent the operand TRUE.
‘F’ will represent the operand FALSE.
‘|’ will represent the operator OR.
‘&’ will represent the operator AND.
‘^’ will represent the operator XOR.
Input: 'exp’ = "T|T & F".
Output: 1
Explanation:
There are total 2 ways to parenthesize this expression:
(i) (T | T) & (F) = F
(ii) (T) | (T & F) = T
Out of 2 ways, one will result in True, so we will return 1.
Here, we need to draw the recursion tree for the recursive solution. We can be solve it by filling a table in bottom-up manner.
Get alternative odd records from the Employees table
Select employeeId from (Select rowno, employeeId from employee) where mod(rowno, 2) = 1Firstly, I was asked about some managerial questions. Then one system design question was asked.
Design an Elevator system. And then write an algorithm for that Design such that the user request should be completed in logN time in an N story building with M elevators.

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?