← Microsoft questions

Inorder successor in binary tree with parent pointer

Filed under Microsoft

Given a pointer to a node in a binary tree where nodes have left, right, and parent pointers, find and return its in-order successor. Return NULL if no successor exists.

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

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