Inserts refer to adding an element into a data structure at a specified location (index). In this case, we want to insert "Hello" at index i if the element at that index is equal to "John".
Related terms
Remove: The action of deleting or taking out an element from a data structure.
Replace: To substitute one element with another in a data structure.
AddAll(): A method that adds all elements from one collection into another collection.