Tip 1 : Your basics should be clear.
Tip 2 : Practice At least 200+ Questions
Tip 1 : Have some projects on resume.
Tip 2 : Do not put false things on resume
Timing-> EVENING(5 TO 6)
The interviewer was very sweet and calm.



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




Input: Consider the binary tree A as shown in the figure:

Output: [10, 5, 3, 7, 18, 25, 20]
Explanation: As shown in the figure
The nodes on the left boundary are [10, 5, 3]
The nodes on the right boundary are [10, 20, 25]
The leaf nodes are [3, 7, 18, 25].
Please note that nodes 3 and 25 appear in two places but are considered once.

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?