280
Returns a sorted list in O(1) time
(programming.dev)
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.
Besides the obvious flaws... is that parameter a list named
list
, shadowing thelist()
constructor?That is a type hint
Well duh. I wonder what happens if you shadow the list constructor and try to use it as a type hint...