RodrigoDLPontes / visualization-tool

Visualization tool for various data structures & algorithms taught in Georgia Tech's CS 1332 class
visualization-tool.rodrigodlpontes.vercel.app
Other
103 stars 64 forks source link

Create a search bar #345

Closed bavichugo closed 3 weeks ago

bavichugo commented 1 month ago

Description

Issue

Demo video

https://github.com/user-attachments/assets/bc8af747-9d64-4531-a4ac-51c4c6c3fa55

Note

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
visualization-tool ❌ Failed (Inspect) Sep 2, 2024 2:13am
luciankt commented 4 weeks ago

This is fantastic! I like that searching BST pulls up Binary Search Tree, and similar for BFS/DFS. Other common acronyms and alternate names in this class that I think people will search are. SLL, CLL, CSLL, DLL, MaxHeap, MinHeap, External Chaining (HashMap), Linear/Quadratic (Probing), Open/Closed (Hashing). It might be worth adding these in as extra cases which pull up the appropriate pages too. If it's not too difficult. But this is great. Happy to merge this PR if you're good to go.

bavichugo commented 4 weeks ago

This is fantastic! I like that searching BST pulls up Binary Search Tree, and similar for BFS/DFS. Other common acronyms and alternate names in this class that I think people will search are. SLL, CLL, CSLL, DLL, MaxHeap, MinHeap, External Chaining (HashMap), Linear/Quadratic (Probing), Open/Closed (Hashing). It might be worth adding these in as extra cases which pull up the appropriate pages too. If it's not too difficult. But this is great. Happy to merge this PR if you're good to go.

Glad you liked it! I would say you can go ahead and merge this PR for now and I can follow up with another PR later on to make these changes you mentioned. I was thinking about refactoring some of the logic of how the algorithms get displayed and could add these cases you mentioned as part of it.