Are you sure you're getting this? Click the correct answer from the options.
Let's begin by choose the correct data structure
for this problem. Which of the below would make the most sense to represent a list of neighbors for each node? Note that we'll want to prioritize quick lookups.
Click the option that best answers the question.
- An array
- A linked list
- A hash table
- A trie