Back to Browse

Big O Time/Space Complexity Types Explained - Logarithmic, Polynomial, Exponential, and More

9.3K views
Aug 18, 2020
9:09

Today we will investigate the most important time and space complexity types. Time and space complexities are a measure of a function's processing power and memory requirements. Many time/space complexity types have special names that you can use while communicating with others. While some of the names for complexity types are well known, like linear and constant time, some others are living in the shadows, like quadratic and factorial time. In this video, I will use the big O notation to denote the complexities, which is specifically used to describe the worst-case performance of algorithms. Outline of this video: * Overview * Constant Time/Space Complexity: O(1) * Logarithmic Complexity: O(logn) * Linear Complexity: O(n) * Polynomial Complexity: O(n^k) * Exponential Complexity: O(2^n) * Factorial Complexity: O(n!) * Alternative Big O Notation * Conclusion Alternative Big O Notation poster, stickers, mugs, and more: * https://quanticdev.com/shop * https://www.redbubble.com/shop/ap/54268092 (Alternative Big O Notation artwork) * https://www.redbubble.com/shop/ap/54006599 (Quantic Developers Club artwork) My "Kadane's Algorithm" video, which is a great demonstration of an O(n) linear time complexity and O(1) constant space complexity algorithm: * https://www.youtube.com/watch?v=4csAswCkXZM Wikipedia articles referenced in this video: * List of all time/space complexities: https://en.wikipedia.org/wiki/Time_complexity * Asymptotic analysis: https://en.wikipedia.org/wiki/Asymptotic_analysis If you want to read or contribute, you can find this guide on: * https://quanticdev.com/articles/primitives/big-o-time-space-complexity-types-explained My Algorithms Playlist: * https://www.youtube.com/playlist?list=PLlPRnMzqjADqDZFBqdwzbIjf71h8xYs4x - - - - - - - - - - - https://twitter.com/quanticdev https://instagram.com/quantic_dev https://quanticdev.com

Download

1 formats

Video Formats

360pmp411.2 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Big O Time/Space Complexity Types Explained - Logarithmic, Polynomial, Exponential, and More | NatokHD