Flatten Binary Tree to Linked List — Advanced Trees

Rearrange a care plan with steps, each having optional left and right follow-ups, into one right-hand sequence in reading order without adding steps.

Advanced Trees · Medium

More in Advanced Trees

All algorithm problems