Difference between revisions of "2022 Paper 1 Revision Quiz"
(→Order of Complexity) |
(→Order of Complexity) |
||
Line 256: | Line 256: | ||
2) { Binary Search } : Logarithmic or O(log N) | 2) { Binary Search } : Logarithmic or O(log N) | ||
3) { Linear Search } : Linear or O(N) | 3) { Linear Search } : Linear or O(N) | ||
− | 4) Merge Sort: { Linearithmic|O(N log N) } | + | 4) Merge Sort : { Linearithmic|O(N log N) } |
− | 5) { Bubble Sort } | + | 5) { Bubble Sort } : Polynomial or O (N<sup>2</sup>) |
6) { Chess Board Problem } : Exponential or O(k<sup>N</sup>) | 6) { Chess Board Problem } : Exponential or O(k<sup>N</sup>) | ||
− | 7) {Travelling Salesman Problem }: Factorial or O(N!) | + | 7) { Travelling Salesman Problem }: Factorial or O(N!) |
</quiz> | </quiz> | ||
Revision as of 10:17, 2 June 2022
Contents
Recursion
Arrays
Abstract Data Types & Dynamic vs Static
Queues
Stacks
Graphs
Trees
Graph Traversal
Searching Algorithms
Sorting Algorithms
Optimisation Algorithms
Order of Complexity