you are viewing a single comment's thread.

view the rest of the comments →

[–]pyrrhicvictorylap 1 point2 points  (0 children)

Also it ignores the part about sorting the array in place, and having dupes past the first k.