2 ms·
What about python arrays? Been a while since I poked around python internals but surely lookups in a list isn't worst case O(n), no?
by junon 3y ago
What about python arrays? Been a while since I poked around python internals but surely lookups in a list isn't worst case O(n), no?