This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingList every ordering of a list with duplicates exactly once.
What this asks
List every ordering of a list with duplicates exactly once.
Sort, track used flags, and skip a duplicate that follows an unused equal value.
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing