jeffgerickson / algorithms

Bug-tracking for Jeff's algorithms book, notes, etc.
7.92k stars 1.02k forks source link

[Oops.] (typo) duplicate assigns in 6.DFS-search #281

Open shzaiz opened 9 months ago

shzaiz commented 9 months ago

Please verify that the error is present in the most recent revision before reporting.

Chapter number or note title: Depth-First Search

Page number: 4 (in ½th edition/Chapters/06-dfs.pdf)

Error description: In either formulation, this algorithm assigns assigns v.pre (and advances ...

Suggested fix (if any): duplicate assigns at the first paragraph, change to: ``In either formulation, this algorithm assigns v.pre (and advances ...''