Difference between revisions of "2022 Paper 1 Revision Quiz"
(→Halting Problem) |
(→Order of Complexity) |
||
Line 239: | Line 239: | ||
=Order of Complexity= | =Order of Complexity= | ||
<quiz display=simple> | <quiz display=simple> | ||
− | { | + | {Complete the following: |
− | |type="() | + | |type="{}"} |
− | + | ||
− | + | 1) Constant : { O(1) } | |
− | + | 2) { Logarithmic } : O(log N) | |
− | + | 3) Linear : { O(N) } | |
− | + | 4) Linearithmic : { O(N log N) } | |
− | + | 5) { Polynomial } : O (N<sup>2</sup>) | |
− | + | 6) { Exponential } : O(k<sup>N</sup>) | |
− | + | 7) Factorial : { O(N!) } | |
+ | |||
</quiz> | </quiz> | ||
Revision as of 10:10, 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