1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Dovator [93]
3 years ago
9

Topological sort requires only a tiny addition to the DFS algorithms. Exactly one of the following data structures is required t

o make it work (although the code in the textbook uses two---only one is essential.)
Question 1 options:

Queue

Deque

Stack

Hash Table
Computers and Technology
1 answer:
Alekssandra [29.7K]3 years ago
8 0

Answer:

Stack.

Explanation:

Topological sort requires a bit of addition to DFS algorithm.So DFS can be done by two ways that are either you can use recursion or you can use Stack data structure to implement DFS.

Since recursion uses stack memory when it makes recursive calls and if you want to do it iteratively you can stack data structure.

You might be interested in
Moving through a neighborhood trying to locate open wireless access points is called ________.
disa [49]
<span>Moving through a neighborhood trying to locate open wireless access points is called wardriving. 
</span> The action wardriving is performed by a person in a moving vehicle (car, bike..) who is using a laptop or smartphone and wants to catch a Wireless LAN (WiFi) network. For this purpose there is software <span>freely available on the Internet.</span>
7 0
3 years ago
What is the aspect ratio of this photo?<br> A) 29.97<br> B) 1:1<br> C) 4:3<br> D) 9:16<br> E) 1080p
UkoKoshka [18]

Answer:

1080p

Explanation:

3 0
2 years ago
Here is something cool
makkiz [27]
Cool beans s s s s s s s s
4 0
3 years ago
Read 2 more answers
C++ Problem: In the bin packing problem, items of different weights (or sizes) must be packed into a finite number of bins each
ipn [44]

xekksksksksgBcjqixjdaj

4 0
4 years ago
over their whole lifetime about how much can someone with a professional degree expect to earn compared to someone with a highsc
Gemiola [76]

Really depends on the job most college based technology jobs pay about 100k 76k after taxes. Mechanics could range above that. Without a college degree most people don't make it above 30k. Thats not what i know for sure just of what i've seen.

4 0
4 years ago
Other questions:
  • What are pixels that are the exact same between multiple frames called?
    15·1 answer
  • When troubleshooting firewalls, which of the following is not something you should do after you attempt a fix?
    7·1 answer
  • &gt;&gt;&gt; import math &gt;&gt;&gt; print(math.Pi) 3.141592653589793 &gt;&gt;&gt; def print_volume(): print ("What is the radi
    12·1 answer
  • You can install several printers on your machine, but at least one must be the _______ printer.
    6·1 answer
  • Which kind of image is indispensable and needs added text to go with it? A. a map B. a chart C. a graph D. a photograph
    9·2 answers
  • Which of the following circuits has an equivalent resistance of 30 Ω?
    8·2 answers
  • Write down <br>the three part of a computer<br>​
    5·1 answer
  • What is an example of bias in media?​
    9·1 answer
  • Please help me please i really need helpp so i can pass
    13·1 answer
  • What are the constraints of mine shaft head gear​
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!