Tesla Interview Question

Time complexity related questions - time complexity of a sort?