← Goldman Sachs questions

Binary tree node deletion and recursive stack visualization

Filed under Goldman Sachs

Implement the deletion of a node in a Binary Search Tree (BST). You must handle cases where the node has zero, one, or two children. Additionally, describe the recursive stack behavior during the…

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 Goldman Sachs questions

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