LeetCode Question · Oct 2022

In Binary Search tree, is levels sorted?

43 views 1 reply

Question Details

Asked this question in Amazon interview, is each level in binary search tree is sorted in ascending order? Looking at example, yes it is sorted. But how to prove the same?

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Binary Search Binary Tree