Skip to content

Commit

Permalink
Fix variable name 'zero_indegrees' in Step 3 explanation (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
AniruddhMohan committed Mar 9, 2024
1 parent 3533b89 commit e97afc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/algorithms/dag/index.md
Expand Up @@ -257,7 +257,7 @@ Inside the loop, the first generation to be considered (`this_generation`)
is the collection of nodes that have zero in-degrees.

We process all the vertices of the current level in variable `this_generation`
and we store the next level in variable `zero_degree`.
and we store the next level in variable `zero_indegree`.

For each vertex inside `this_generation`,
we remove all of its outgoing edges.
Expand Down

0 comments on commit e97afc9

Please sign in to comment.