โ† Nutanix questions

Restore Swapped Nodes in a BST

Filed under Nutanix

The question

Given a Binary Search Tree where two nodes have been swapped, identify the two nodes and swap the actual node structures back to restore the BST property.

No write-up yet. Related questions below have one.

Related Nutanix questions

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