← Zomato questions
CodingReported in a candidate post, Jul 2023

Delete a node from a BST (recursive)

Filed under Zomato

Given the root of a binary search tree and a key, delete the node with that key (if it exists) using a recursive approach and return the root of the updated BST. The result must still be a valid 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 Zomato questions

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