Discuss about my projects in current organisation.
JavaScript discussions
a) Prototype chain
b) Bind and how it's used in react
c) Garbage collection in JS
d) How bundlers work
Round 2
Discuss about my projects in detail. (He was really interested in knowing how things work)
Placing dots on/in circle . Will you play first or second to always win ?
Left and top view of a binary tree
Zig Zag level order traversal
Rain water tapping question
A question on topological sort
Round 3
Discuss current projects.
Multiple questions on OS concepts mainly virtual memory
How to find common lines between two very large files (1 billion lines each)
How to sort a very large file (can't fit into main memory)
Round 4
Discuss current projects
All sorts of generic behavioral questions
Some questions on how cluster module of NodeJS works
Given an array find if there exists such an x that by doing one of the operation a) Subtract x b) Add x c) Do nothing with every element you can make every element equal.
Round 5
Discuss current and old work
Behavioral questions (special emphasis on why you want to switch)
What kind of work will I prefer
Implement lock and unlock node functions in a binary tree given condition node can be locked if no ancestor and no children are locked
He was expecting O(h) complexity for both lock and unlock