Difference between revisions of "2022 Paper 1 Revision Quiz"
(→Queues) |
(→Queues) |
||
Line 176: | Line 176: | ||
+ Unweighted | + Unweighted | ||
||Correct | ||Correct | ||
+ | |||
+ | {Look at this graph: | ||
+ | |||
+ | [[File:Graph3.png|300px]] | ||
+ | |||
+ | Complete the adjacency matrix, use Y & N only: | ||
+ | |type="{}"} | ||
+ | <table style="border:1px solid black;"> | ||
+ | <tr> | ||
+ | <td> </td><td>0</td><td>1</td><td>2</td><td>3</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>0</td><td>X</td><td>{ Y }</td><td>{ Y }</td><td>{ Y }</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>1</td><td> { Y } </td><td>X</td><td> { Y } </td><td> { N } </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>2</td><td>{ Y }</td><td>{ Y }</td><td>X</td><td>{ N }</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>3</td><td>{ Y } </td><td> { N } </td><td> { N } </td><td>X</td> | ||
+ | </tr> | ||
+ | </table> | ||
{Look at this graph: | {Look at this graph: |
Revision as of 09:14, 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