findmode-mode-replacement-strategy

Status: IN

When `cur_count` exceeds `max_count`, the `modes` list is replaced entirely (not appended to), ensuring only values matching the true maximum frequency survive.

Source: entries/2026/06/06/find-mode-in-binary-search-tree-solution.md

JSON