solution-class-vs-module-function-inconsistency

Status: IN

Some solutions (e.g., binary-search) wrap logic in a `Solution` class matching LeetCode's interface, while others (e.g., binary-tree-inorder-traversal) expose module-level functions — the repo is inconsistent on this convention.

Source: entries/2026/06/06/binary-tree-inorder-traversal-solution.md

JSON