โ† SAP questions

Find the nth largest element in a BST

Filed under SAP

Given the root of a Binary Search Tree (BST) and an integer n, find and return the value of the n-th largest node present in the BST.

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 SAP questions

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