If speed is an issue, and the graph algorithm we are using frequently needs to know if there is a direction connection between two vertices, it would be best to implement the graph with a(n):

A. priority queue
B. linked list
C. adjacency matrix
D. adjacency list

C

Computer Science & Information Technology

You might also like to view...

When a template is opened from Windows File Explorer, it is opened as a(n):

A) Excel Workbook (*.xlsx). B) Excel Template (*.xltx). C) Excel Macro-Enabled Template (*.xltm). D) Excel Macro-Enabled Workbook (*.xlsm).

Computer Science & Information Technology

Which Access 2016 view contains commands used to manage Access files and options?

A. Datasheet view B. Design view C. Backstage view D. Form view

Computer Science & Information Technology