Computational Thinking

Table of Contents

Big O Notation

used to classify algorithms function characterisation according to rates of growth useful for analysing efficiency always uses approximate worst case read “order of“

Example:

Time complexity

expressed in Big O notation performance: how much time, memory, disk, etc.

time complexity: amount of time taken by an algorithm to run, as a function of the length of the string representing the input

typically interested in worst-case time complexity T(n)

Determining complexities: