Glossary
Time complexity
Time complexity describes how the number of operations scales when input size grows. In coding interviews, stating expected complexity helps interviewers follow your approach and compare alternatives. Common classes include O(1), O(log n), O(n), O(n log n), and O(n²).