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.
-
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.
-
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.
-
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.
-
Replace the staff byline with AI-drafted and review status
Touched 92 pages.
-
Rewrite site prose in plain language; simulators, homepage, About, footer
Touched 579 pages.
-
add math and history, more content
Touched 183 pages.
-
Update components, cheat sheets, and structure
Touched 444 pages.
-
improve content
Touched 405 pages.
-
fix more content
Touched 26 pages.
-
update links, content, speed
Touched 268 pages.
-
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.sveltesrc/lib/sims/traversal.tstests/sims/traversal.test.ts
The descriptions are the notes written when each change was saved, unedited, so older ones can be short.