The Big-O Notation — Algorithm and Data Structure
Feb 21, 2022
Big-O?
Big O is the way we analyze how efficient algorithms (or code in this case) without getting too mired in the details. We can model how much any function is going to take given n inputs (thinking an array of length n), but in reality we’re interested in the order of magnitude of the number and not necessarily of the exact figure.