The time complexity for .tolist() is O(n), where n is the number of elements in the list.