Status: IN
`majority_element([])` returns `0` without raising, because the loop never executes and `candidate` retains its initial value of `0`.
Source: entries/2026/06/06/majority-element-solution.md
JSON