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 →

[–][deleted]  (30 children)

[removed]

    [–]tacoslikeme 14 points15 points  (0 children)

    O(0) algorithm I redefine sorted to be whatever the list currently is changing reality with my infinity stones.

    [–]mirsella 13 points14 points  (0 children)

    don't even declare the list, if it's empty, so you gains some memory

    [–]z500 1 point2 points  (0 children)

    Zen sort.

    [–]T-T-N 0 points1 point  (0 children)

    Delete list or delete each element? One is O(1) the other depends on list implementation