solutions-use-bare-functions

Status: IN

The repo convention is a bare top-level function (e.g., `postorder(root)`, `moveZeroes(nums)`) rather than wrapping in LeetCode's `class Solution`, making functions directly importable by test files.

Source: entries/2026/06/06/n-ary-tree-preorder-traversal-solution.md

JSON