Repository navigation
Add the Graphs for LeetCode video course and the tool features it films - #259
Merged
Merged
Conversation
Graphs tool: - Seeded mazes with URL setup, a frontier view, a backtracking DFS that shows its current path, and a Show distances toggle. - Multi-source BFS with a level counter, an islands mode that counts components, mud cells that cost 5 with a path cost stat, and 0-1 BFS with a visible deque. - A new Network mode (network.js, network.css) with presets and step-by-step views for Kahn's algorithm, three-color DFS, Dijkstra with stale heap entries, Bellman-Ford with and without the copied dist row, Floyd-Warshall, bipartite 2-coloring, greedy coloring, Kruskal and Prim. Data Structure Lab: - Graph shows its adjacency list, runs BFS or DFS, reports the first cycle edge, and counts components after a vertex is removed. - A new Disjoint Set structure with a forest view, the parent and size arrays, path compression, union by size and a Redundant Connection preset. Video course (scripts/reels/graphs_course): - The plan, task list, eight section scripts and a narration-only recording sheet. - A renderer that films the real pages under a paused clock, splits the owner's recording on its pauses, adds overlay cards, captions and a ducked music bed, and writes each section, a vertical reel per section, and the joined full video with YouTube chapters. Tests: graphs-course, graphs-mud and graphs-network specs, plus Disjoint Set tests in data-structures.spec.js. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Deploy Preview for goofy-brahmagupta-0a14f0 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This adds everything behind the eight-part "Graphs for LeetCode" video, about 37 minutes in total. The tool features are real and usable on the site, and the course renderer films them.
Graphs tool
network.js,network.css): a node-and-edge view with presets and step-by-step frames for Kahn's algorithm, three-color DFS, Dijkstra (stale heap entries are skipped), Bellman–Ford with and without the copied dist row, Floyd–Warshall, bipartite and greedy coloring, Kruskal and Prim.Data Structure Lab
Video course (
scripts/reels/graphs_course)Test plan
npx playwright test tests/graphs-course.spec.js tests/graphs-mud.spec.js tests/graphs-network.spec.js tests/data-structures.spec.js: 53 passed after rebasing on master🤖 Generated with Claude Code