In this part of the assignment, you will implement a data structure similar to Java's ArrayList and write JUnit tests to ensure that your implementation functions correctly. Make sure to read the ...
.. mchoice:: qListRem3 :answer_a: [1, 2, 3, 4, 5] :answer_b: [1, 2, 4, 5, 6] :answer_c: [1, 2, 5, 4, 6] :answer_d: [1, 5, 2, 4, 6] :correct: d :feedback_a: The <code ...
It's not terribly clean, but you could use indexOf() and check if it returns -1. Better than breaking out a loop.