Status: IN
Some solution files provide both a `Solution` class method and a standalone function with identical logic, giving callers a choice of interface.
Source: entries/2026/06/06/check-if-binary-string-has-at-most-one-segment-of-ones-solution.md
JSON