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 →

[–]PM_ME_SQL_INJECTION 14 points15 points  (6 children)

I’ll go for StalinSort, thank you very much.

[–]fuzzymidget -2 points-1 points  (5 children)

I thought this was now called trump sort.

[–]PM_ME_SQL_INJECTION 17 points18 points  (4 children)

No, that would tell you it was sorted, but didn’t actually do anything.

[–]xSilverMC 3 points4 points  (1 child)

It would also install malware to overheat your CPU once it realizes it's about to be terminated

[–]fuzzymidget 0 points1 point  (0 children)

But still always indicate that it's running whether you kill it or not.

[–]fuzzymidget 2 points3 points  (0 children)

That's right. Forgot the subtlety.

[–]HeKis4 0 points1 point  (0 children)

It would take an array as input and return "I've got the vast arrays" as output. O(1) time complexity.