โ† Josh Technology questions

Print Sorted Order of Two BSTs with Parent Pointers

Filed under Josh Technology

The question

Given two BSTs where each node has references to its left child, right child, and parent node, print the sorted order of their nodes combined in O(1) space.

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

Related Josh Technology questions

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