My Blog List

[Leetcode Solution] Remove Element

Analysis 

  • Use two pointers. One points to the current element. The other points to the current position where to store the next unique element.

Note

Code


No comments:

Post a Comment

Enter you comment