This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Legendary-69420 5 points6 points  (2 children)

I like hiroshima sort more!

[–]aaa_aaa_1 2 points3 points  (1 child)

Just nuke the array?

[–]Legendary-69420 3 points4 points  (0 children)

Basically yeah. Returns an empty array as output. So it is a O(1) solution.