Skip to main content
PProfileMatch

Arrays and Strings · Arrays and Strings: List Mechanics, In-Place Updates, Two Pointers

Question 1 of 5

A feed keeps recent events and calls events.insert(0, e) for each arrival. Why does it get slower as the list grows?

Tip: press 1-4 to answer, Enter to continue. Finish the quiz to bank your XP.