โ† Paytm questions

Kth largest element in BST with constant space

Filed under Paytm

Given a Binary Search Tree (BST) and an integer k, find the k-th largest element in the BST using O(1) extra space.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Paytm questions

Collected from public candidate posts and coding forums. Updated Nov 2026.