Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RSS BotMB to Hacker NewsEnglish · 1 day ago

Iterative DFS with stack-based graph traversal (2024)

dwf.dev

external-link
message-square
0
fedilink
2
external-link

Iterative DFS with stack-based graph traversal (2024)

dwf.dev

RSS BotMB to Hacker NewsEnglish · 1 day ago
message-square
0
fedilink
Iterative DFS with stack-based graph traversal | Software Engineering Handbook
dwf.dev
external-link
This post explores how to effectively implement an iterative depth-first search (DFS) traversal on a graph with a stack, addressing a common pitfall along the way.

Comments

alert-triangle
You must log in or register to comment.

Hacker News

hackernews

Subscribe from Remote Instance

You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !hackernews@lemmy.bestiver.se
lock
Community locked: only moderators can create posts. You can still comment on posts.

Posts from the RSS Feed of HackerNews.

The feed sometimes contains ads and posts that have been removed by the mod team at HN.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 304 users / day
  • 1.28K users / week
  • 3.99K users / month
  • 9.51K users / 6 months
  • 2 local subscribers
  • 2.43K subscribers
  • 29.4K Posts
  • 11.7K Comments
  • Modlog
  • mods:
  • patrick
  • RSS Bot
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org