Back to course home
0% completed
Vote For New Content
I dont understand the solution
Casey Dietz
Nov 13, 2023
I dont understand how the elements are being removed in the solution? I just see two pointers moving through the array checking conditionals but I dont see where they are getting removed. What am I missing?
2
0
Comments
Comments
Dmitry Gachkovsky2 years ago
What they meant is you return a pointer to where the new array should start, and then the one who called the function strips the duplicated part
On this page
Problem Statement
Try it yourself