Algorithms (Edexcel A-Level Further Mathematics): Flashcards
📚Flashcards
Practise the cards
10 cards from this deck
ShowHide
Practise the cards
10 cards from this deck
Definition of an algorithm
Definition of an algorithm
Step-by-step instructions to solve a problem or perform a task
Three components of an algorithm
Three components of an algorithm
Input, Process, Output
'Order of an algorithm' measures
'Order of an algorithm' measures
Efficiency in time/resources as input size grows
Big-O notation describes
Big-O notation describes
Upper bound of an algorithm's complexity
complexity means
complexity means
Constant time (independent of input size)
complexity means
complexity means
Linear time (directly proportional to input size)
complexity means
complexity means
Quadratic time (e.g., nested loops)
complexity means
complexity means
Logarithmic time (e.g., binary search)
Standard matrix multiplication () complexity
Standard matrix multiplication () complexity
Dijkstra's algorithm complexity
Dijkstra's algorithm complexity
where is number of edges
