As the title says, I was wondering what the time complexity of the contains() method of an ArrayList is.
it's O(n) for ArrayList