LeetCode Experience · May 2022 · Los Angeles

Uber | Technical Phone Screen | kth largest element in BST - follow up - space O(1)

14 upvotes 8,555 views 11 replies

Interview Experience

1 hr coding round. I was asked a variation of this problem. Problem was to find kth largest instead of kth smallest element. \'\'\' Given a Binary Search Tree (BST) and a positive...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Arrays Binary Tree Sorting Binary Search Heap Stack