You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No matter how many elements, it will always take x operations to perform.
Constant algorithms do not scale with the input size, they are constant no matter how big the input.
Example:
addition: 1 + 2 takes the same time as 500 + 700
They may take more *physical time, *but we do not add more steps in the algorithm for addition of big numbers.
Big-O : Big O is a formal notation that describes the behaviour of a function when the argument tends towards the maximum input.
Data Structure Big-O Analyses
Sorting algorithms Bio-O Analyses
The text was updated successfully, but these errors were encountered: