Signed up recently but had issues with the confirmation email?
Click Forgot password and follow the reset steps. You can choose the same password you used when you signed up. This should then provide access.
Remember to check Spam and Junk. The email will be from auth@progressbytes.co.uk.
Measures and methods to determine the efficiency of different algorithms, Big O notation (constant, linear, polynomial, exponential and logarithmic complexity).
2.3.1 Algorithms
Practise exam questionsAlgorithms — Note 3 of 6
Candidates need to understand how the efficiency of an algorithm is measured using Big O notation, including constant, linear, polynomial, exponential and logarithmic complexity. Candidates need to be able to recognise and draw each complexity on a graph and read and write the notation.
Big O notation describes how the time (or space) an algorithm needs grows as the input size grows, ignoring constant factors. It lets algorithms be compared independently of the hardware they run on.
O(1) < O(log n) < O(n) < O(n log n) < O(n^2) < O(2^n)
n = 1,000:
O(log n) ~ 10 steps
O(n) 1,000 steps
O(n log n) ~ 10,000 steps
O(n^2) 1,000,000 steps
O(2^n) more steps than atoms in the universeA way of expressing the upper bound of an algorithm's time or space complexity as a function of the input size n.
Past exam questions
Ready to test yourself?
Practise 2.3.1 questions