Problem 897 · Easy

Increasing Order Search Tree

Rearrange a binary search tree into a chain of values in ascending order with no left branches. The visual walks the tree in order and relinks each node to the next one.

Open the interactive visualisation