Tip 1 : Practice is the key to crack any interview. Solve as many questions as you can.
Tip 2 : Learn about the company values.
Tip 1 : Keep it short and concise
Tip 2 : Try to highlight some work or projects that you did outside your work
Timing - Flexible, can take any time as per convenience.
Environment was great.



Elements are in the level order form. The input consists of values of nodes separated by a single space in a single line. In case a node is null, we take -1 in its place.
For example, the input for the tree depicted in the below image would be :

1
2 3
4 -1 5 6
-1 7 -1 -1 -1 -1
-1 -1
Explanation :
Level 1 :
The root node of the tree is 1
Level 2 :
Left child of 1 = 2
Right child of 1 = 3
Level 3 :
Left child of 2 = 4
Right child of 2 = null (-1)
Left child of 3 = 5
Right child of 3 = 6
Level 4 :
Left child of 4 = null (-1)
Right child of 4 = 7
Left child of 5 = null (-1)
Right child of 5 = null (-1)
Left child of 6 = null (-1)
Right child of 6 = null (-1)
Level 5 :
Left child of 7 = null (-1)
Right child of 7 = null (-1)
The first not-null node (of the previous level) is treated as the parent of the first two nodes of the current level.
The second not-null node (of the previous level) is treated as the parent node for the next two nodes of the current level and so on.
The input ends when all nodes at the last level are null (-1).
The above format was just to provide clarity on how the input is formed for a given tree.
The sequence will be put together in a single line separated by a single space. Hence, for the above-depicted tree, the input will be given as:
1 2 3 4 -1 5 6 -1 7 -1 -1 -1 -1 -1 -1
Recorded the maximum value along the path from the root to the node. Used recursion to solve the problem
Taken by SSE where he shared codility link to write code



1. We consider the ‘/’ operator as the floor division.
2. Operators ‘*’ and ‘/’ expression has higher precedence over operators‘+’ and ‘-’
3. String expression always starts with ‘(‘ and ends with ‘)’.
4. It is guaranteed that ‘expression’ represents’ a valid expression in Infix notation.
5. It is guaranteed that there will be no case that requires division by 0.
6. No characters other than those mentioned above are present in the string.
7. It is guaranteed that the operands and final result will fit in a 32-bit integer.
Consider string ‘expression’ = ‘((2+3)*(5/2))’.
Then it’s value after evaluation will be ((5)*(2)) = 10.
Used bitwise operation to solve the problem
Taken by Engineering Manager



Input:
'num1' : 1 -> 2 -> 3 -> NULL
'num2' : 4 -> 5 -> 6 -> NULL
Output: 5 -> 7 -> 9 -> NULL
Explanation: 'num1' represents the number 321 and 'num2' represents 654. Their sum is 975.
1. Calculate sizes of given two linked lists.
2. If sizes are not the same, then append zeros in the smaller linked list.
3. If the size is the same, then follow the below steps:
a. Find the smaller valued linked list.
b. One by one subtract nodes of the smaller-sized linked list from the larger size. Keep track of borrow while subtracting.
Taken by Principal Engineering Manager
Given an infinite grid, implement Tic tac toe with following functionalities -
1. Save progress.
2. Finish the game as soon as any player wins.
3. N will be provided where N refers to number of items required to win the game (generally this is 3 when we play this game but in problem it could be any number >= 3)
Tip 1 : Practise system design thoroughly
Tip 2 : Watch videos on YouTube to gain experience on how to approach the problem
Walk through a program which is designed to make a system super slow.
Tip 1 : Brush up your OS skills
Tip 2 : Must read about threads, deadlock, semaphores

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?