4 ms·
Python list is backed by array. So removing an element from the middle of list is costly. (I assume this was the reason for linked list usage in original versio
by falserum 3y ago
Python list is backed by array. So removing an element from the middle of list is costly. (I assume this was the reason for linked list usage in original version)
- tommiegannert 3y agoIndeed, but this is clearer to read.