Big O Notation — How to Identify Exponential and Factorial Algorithms

Big O Notation — Watch with lights in the background
Photo by Saffu on Unsplash

If you were given a factorial Big O Notation Example, would you be able to identify it?

As a software engineer, you must be careful not to have an algorithm with the least efficient notations.

And to avoid writing these algorithms, you need to be able to identify them.

Here’s how to spot a…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store