Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Depth first search and algorithms, Lecture notes of Algorithms and Programming

This is about DFS in algorithmic graph theory. It is very useful to understand different graph algorithms

Typology: Lecture notes

2019/2020

Uploaded on 11/05/2020

modi-ketul-1
modi-ketul-1 🇮🇳

4.7

(3)

12 documents

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
pf3
pf4
pf5

Partial preview of the text

Download Depth first search and algorithms and more Lecture notes Algorithms and Programming in PDF only on Docsity!

Dept. Fivst Seancl/ Traversal (DES) “A DES iW Aa Connected Gop Geo ve) vs Like traversing O MAZe. Lek AeEV be the Ando root] Atarhing vernix. foc the. traversal. The traversal begins with the £ Lewy the tury ont Vertu. Aud is marked” as visited = Next Qu aWertrorcy nedabour ; OF the Curent verlan Us probed. Vf vy has not ~ ben visited yet, ther Vig marked Visited Qud made the Corvent Vole . else the traversoll Rots & The connen’ vutan. >We continue wilh he above Step untl ve backtrace oe A afcen having visited QL Whe Vorhices, ¢ >) i) ig