Revolut interview question

What is the time complexity to get an item from a ArrayList, LinkedList?

Interview Answer

Anonymous

13 Jun 2025

ArrayList time complexity has O(1), LinkedList - O(n).