To describe the efficiency of algorithms, Big O time language and metric is used. To make it clearer, let’s look at the following scenario. Imagine that we want to send a file to our friend as fast as possible, how should we send it?
Electronic transfer
Physical delivery
Time Complexity
Electronic transfer: O(s), where s is the size of the file. This means that the time to transfer the file increases linearly ...