5 ms·
I went specifically looking for this information a week ago when I was learning Python. It wasn't clear to me how a list was implemented, and in particular if
by ohmygodel 16y ago
I went specifically looking for this information a week ago when I was learning Python. It wasn't clear to me how a list was implemented, and in particular if random access and deletes were constant or linear time
- jemfinch 16y agoWhich is exactly why it should never have been called "list". If it were "vector" or "array" you'd never have even wondered.