We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Well... Do you know the way that built-in function del is implemented? Because it probably shifts all elements from position k+1 until the last position, which would mean that you would still looping the list two times...
Bill Division
You are viewing a single comment's thread. Return to all comments →
Well... Do you know the way that built-in function del is implemented? Because it probably shifts all elements from position k+1 until the last position, which would mean that you would still looping the list two times...