What is the time complexity of ArrayList operations?