Tip 1 : Focus on coding
Tip 2 : Focus on system design
Tip 3 : Focus on your current projects , know them in depth be ready to answer anything
Tip 1 : Be concise blah blah blah blah
Tip 2 : Know all you've written blah blah blah blah
Timing : 1 afternoon
Problem to find tree diameter. did it on O(n*n) but also doable in O(n). did it in On after the interviewer gave a hint




If we are given the above binary tree as input then moving from root node(5) to the farthest leaf node(50), the path formed will be [ 5->10->25->35->40->45->50 ]. The total number of nodes encountered is 7, therefore the maximum depth of the binary tree is 7.
No I cannot. pls find online
About Linked list



In the given linked list, there is a cycle, hence we return true.

System design + HR
the manager was a technical guy
Design Rubric Cube movement. The intended was not to write a logic to solve rubrik cube , but to write classes to simulate it
Design Chess

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Providing input/output examples in your prompt is a technique called: