BFS and DFS visualizer / Change history

Change history

Every change made to BFS and DFS visualizer, newest first, from the site's version history. Each date is the day the change was saved.

3 changes to this page · 8 site-wide changes · first saved 25 May 2026

  1. Add tests for 13 more simulators

    The same change touched 12 other pages.

    Details

    A*, binary search, LCS/edit distance, N-queens, BFS/DFS, linked list, cache eviction, MESI, deadlock, circuit breaker, allocator, virtual memory and big-O, each against an independent reference: BFS distances, linear scans, brute force, OEIS A000170, GNU diff, separate LRU/FIFO/Belady implementations, Knuth's bounds and the fifty-percent rule.

  2. BFS/DFS and Dijkstra: paste an edge list from an exercise and run it

    The same change touched 1 other page.

    Details

    Edges like A-B 4 or A>B 2; the graph, start and target are kept in the URL.

  3. Rebuild BFS and DFS simulator on the wiki layout

    Details

    The old DFS marked nodes when pushed, which is not depth-first: on its own graph it showed A B D E H I F J L C G K instead of A B D E H I F C G K J L. src/lib/sims/traversal.ts does true iterative DFS (neighbour index on the stack) and BFS; tested on 3,000 random graphs against a recursive DFS, shortest-path distances, the ancestor property of DFS back edges and nested discovery/finish intervals. Four graphs, any start node, step player, queue/stack panel; article rewritten and sourced.

Site-wide changes that also touched this page (8)

Changes made to more than 25 pages at once, such as a new layout, a wording pass or a move to a new folder.

  1. Replace the staff byline with AI-drafted and review status

    Touched 92 pages.

  2. Rewrite site prose in plain language; simulators, homepage, About, footer

    Touched 579 pages.

  3. add math and history, more content

    Touched 183 pages.

  4. Update components, cheat sheets, and structure

    Touched 444 pages.

  5. improve content

    Touched 405 pages.

  6. fix more content

    Touched 26 pages.

  7. update links, content, speed

    Touched 268 pages.

  8. add more content, fix shares

    Touched 319 pages.

What counts as a change to this page

Any saved change to these files, including when they lived in an older folder:

  • src/routes/simulators/bfs-dfs-traversal/+page.svelte
  • src/lib/sims/traversal.ts
  • tests/sims/traversal.test.ts

The descriptions are the notes written when each change was saved, unedited, so older ones can be short.