bst-inorder-no-materialized-list

Status: IN

The BST minimum-difference solution computes the answer in O(h) stack space during traversal without collecting all node values into a list first.

Source: entries/2026/06/06/minimum-absolute-difference-in-bst-solution.md

JSON