Functions and Their Growth

This lesson discusses the building blocks for analyzing algorithms.

The yardstick to measure the performance of algorithms is specified in terms of functions. For the mathematically uninitiated, we explain functions below.

Functions

Think of a function like a machine or a blackbox that takes inputs from one end and spits outputs from the other end.

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.