Cracking The Coding Interview 6th Edition PDF
Cracking The Coding Interview 6th Edition PDF
Table of Contents
Introduction 0
Big O Notation 1
2
Cracking the Coding Interview 6th edition
Introduction 3
Cracking the Coding Interview 6th edition
Big O Notation
Time Complexity
O(1) constant time. This is never counted. O(n) this means it takes n time. O(n) is linear time.
No matter how big the constant O(1) is, linear will surpass it at some point.
The industry meaning of Big O notation is more academic Big Theta. Big O merges the
Big O Notation 4