boyer-moore-no-verification-pass

Status: IN

`majority_element` in `majority-element/solution.py` does not include a second pass to verify the candidate; it assumes the precondition (a majority element exists) holds, and returns an arbitrary element if violated.

Source: entries/2026/06/06/majority-element-solution.md

JSON