1. Introduction When we write a program, we often ask: Is my code fast enough? Will it work well when data becomes very large? To answer these questions, we use Time Complexity. Time Complexity helps us understand how the running time of a program grows as the input size increases. 2. What is Time Complexity? Time Complexity tells us: How much time an algorithm takes to run as input size inc