Fmars Blog
Inner happiness comes from self-sacrifice
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Enter you comment