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
Paul [167]
3 years ago
6

Write the pseudocode for depth first search ? (help plz)

Computers and Technology
1 answer:
Mekhanik [1.2K]3 years ago
5 0

Answer:

Start by putting any one of the graph's vertices on top of a stack.

Take the top item of the stack and add it to the visited list.

Create a list of that vertex's adjacent nodes. Add the ones which aren't in the visited list to the top of the stack.

Keep repeating steps 2 and 3 until the stack is empty.

Explanation: i hope it help

You might be interested in
An increase in Consumption will ___________ in the Classical Model of Aggregate Demand.
Step2247 [10]
The answer to your question is b
8 0
3 years ago
Which of the following scenarios describes an IT professional using the Internet and computer system access in an unprofessional
pantera1 [17]

Answer:

All of the above

Explanation:

6 0
3 years ago
1) These are operators that add and subtract one from their operands. A) plus and minusB) ++ and --C) binary and unaryD) conditi
GREYUIT [131]

Answer:

1) B: ++ and --

2) B: 111... and on forever

Explanation:

++ and -- in most programming languages are used for incrementing(adding) by 1 or decrementing(substracting) by 1.

The code will output 111... and on forever because the while loop was not covered in curly braces.

5 0
3 years ago
Companies use computers for which of the following?
RoseWind [281]

Answer:

Buisness,creation,advertising.

7 0
3 years ago
Just forgot where she saved a certain file on her computer therefore she searched for all files with jpg file extension which ty
ollegr [7]
Photographic file also know as photos.
6 0
3 years ago
Read 2 more answers
Other questions:
  • Sasha has decided to start a consulting business. She will need space for large meetings and a receptionist. Which of the follow
    14·1 answer
  • Powerpoint s _____ feature allows you to set the timing for a video clip
    12·1 answer
  • What kind of device is hardware capable of transferring items from computers t and devices to trans?
    5·1 answer
  • Which of the following is something you need to keep an eye out for
    7·2 answers
  • You should always try to avoid showing that an animal in a zoo is a captive animal. True False
    5·1 answer
  • I will give brainliest !!
    15·1 answer
  • How does the technology work
    10·2 answers
  • Difference between a lesson plan and scheme of work​
    6·2 answers
  • Usually it is a rectangular box placeed or underneath your desk​
    15·1 answer
  • Beth is a software developer who is focused on identifying early-stage interface problems. Beth addresses the dimension of usabi
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!