You are viewing a single thread.
View all comments 2 points
you can even have a case where you return the first element of the list if the list is not empty, and it will still be O(1).
1 point
you can even have a case where you return the first element of the list if the list is not empty, and it will still be O(1).
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
1
Monthly active users
256
Posts
842
Comments