Skip to the workspace
Pebellslearn by building
← All interview tasks

Foundation · Coding exercise

Remove duplicates while preserving order

sets · lists · hashing

Not checked yet

Guest practice stays in this visit. Sign in to save your progress. Checks cover the stated cases; discussion rubrics are self-reviewed. These tasks do not mark course lessons complete.

DrillRemove duplicates while preserving order

Implement unique(values) for a list of integers. Return the first occurrence of each value, in encounter order. Do not modify the input.

Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.