Difference between revisions of "2022 Paper 1 Revision Quiz"
(→Queues) |
(→Queues) |
||
Line 272: | Line 272: | ||
</tr> | </tr> | ||
</table> | </table> | ||
+ | |||
+ | {Complete the following | ||
+ | |type="{}"} | ||
+ | You should use an adjacency list when there are { few (i) } edges. | ||
+ | |||
+ | You should use an adjacency matrix if there are { many (i) } edges. | ||
+ | |||
+ | {Processing adjacency matrix is much simpler because you can have direct access to check if an edge exists | ||
+ | |type="()"} | ||
+ | +True | ||
+ | ||Correct | ||
+ | - False | ||
+ | ||Incorrect | ||
+ | |||
</quiz> | </quiz> | ||
Revision as of 10:06, 3 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