#27 - Remove Duplicate Numbers
You are given an array of integers. Some elements in the array are duplicates, and you need to remove these duplicates while maintaining the original order of elements.
Example 1
Input
Output
Example 2
Input
Output
Last updated