[MINI] Big Oh Analysis

Published: Oct. 13, 2017, 3 p.m.

b'

How long an algorithm takes to run depends on many factors including implementation details and hardware.\\xa0 However, the formal analysis of algorithms focuses on how they will perform in the worst case as the input size grows.\\xa0 We refer to an algorithm\'s runtime as it\'s "O" which is a function of its input size "n".\\xa0 For example, O(n) represents a linear algorithm - one that takes roughly twice as long to run if you double the input size.\\xa0 In this episode, we discuss a few everyday examples of algorithmic analysis including sorting, search a shuffled deck of cards, and verifying if a grocery list was successfully completed.

Thanks to our sponsor Brilliant.org, who right now is featuring a related problem as their Brilliant Problem of the Week.

'