Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #36.9K
~108 People Reached
Favorite Forums
I'm trying to write a function that takes an array of unsorted positive integers N elements long. The function should return the same array (no new allocations) with all duplicated integers replaced with -1 and moved to the end of the array. So for example, the string: 1136788999 becomes ... … |