2 ms·
It’s crazy that the function you call to remove an element from a list is `append`.
by pansa2 6y ago
It’s crazy that the function you call to remove an element from a list is `append`.
- pests 6y agoIf you come at it with the thought that you are creating two sublists (on each side, avoiding the index) you then need to merge them back together. That append reads to just recreate the list from the two parts.