I had my onsite round yesterday and these questions were asked:
- return the first element that does not follow the alphabetical order
- find the nodes that are at K distance from the target node in a binary tree.
Comments (5)
I had my onsite round yesterday and these questions were asked: