Status: IN
`Counter.pop` during the `arr2` traversal both retrieves element counts and removes keys, partitioning elements into "ordered" and "remainder" groups in a single pass without a separate set lookup.
Source: entries/2026/06/06/relative-sort-array-solution.md
JSON