solution-resets-state-per-call

Status: IN

`minDiffInBST` sets `self.prev = None` and `self.min_diff = inf` at the top of every call, making `Solution` instances safe to reuse across multiple invocations.

Source: entries/2026/06/06/minimum-distance-between-bst-nodes-solution.md

JSON