feat: Add algorithm visualization with step-by-step animations#1
Merged
niklasmarderx merged 2 commits intomainfrom Mar 14, 2026
Merged
Conversation
## New Features ### Algorithm Visualizer Components - Add AlgorithmVisualizer for array-based algorithms (sorting/searching) - Add GraphVisualizer for graph and tree algorithms - Side-by-side layout with visualization and code highlighting ### Sorting Algorithms (6) - Bubble Sort, Selection Sort, Insertion Sort - Quick Sort, Merge Sort, Heap Sort - Real-world use cases documented ### Search Algorithms (2) - Binary Search, Linear Search - Visual highlighting of search bounds ### Graph Algorithms (6) - Dijkstra (GPS Navigation, Google Maps) - A* (A-Star) - Industry standard for pathfinding - Bellman-Ford - Network routing with negative weights - BFS (Breadth-First Search) - DFS (Depth-First Search) - Topological Sort (npm/yarn dependency resolution) ### Tree Algorithms (4) - BST Search - Inorder Traversal (sorted output) - Preorder Traversal (tree copy/serialization) - Postorder Traversal (tree deletion) ## UI Improvements - Animated step-by-step visualization - Code highlighting synced with current step - Play/pause/step controls - Speed adjustment slider - Progress bar for navigation ## Technical - TypeScript with full type safety - ESLint compliant - Responsive design
…orithmTrainingPage
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.
New Features
Algorithm Visualizer Components
Sorting Algorithms (6)
Search Algorithms (2)
Graph Algorithms (6)
Tree Algorithms (4)
UI Improvements
Technical
Art der Änderung
Screenshots
Falls zutreffend, füge Screenshots der Änderungen hinzu.
Checklist
npm run type-check) hat keine Fehlernpm run lint) hat keine FehlerWie wurde getestet?
Beschreibe wie du getestet hast:
Test Konfiguration:
Weitere Infos
Weitere Informationen die für den Review wichtig sein könnten.