Move occurrences to end
Filed under Synopsis
The question
Given an array, move all occurrences of elements that appear more than once to the end of the array without using extra space, while maintaining the relative order of other elements.
No write-up yet. Related questions below have one.
Related Synopsis questions
Collected from public candidate posts and coding forums. Updated Nov 2026.