Live Demo: https://dsa-hub-eosin.vercel.app/
Master Data Structures & Algorithms with Interactive Simulations
DSA Study Hub is an interactive educational web application designed to bridge the gap between theory and practice. It helps students master Data Structures and Applications (DSA) by providing a modern interface where users can view C source code for standard laboratory programs and run interactive simulations of those algorithms directly in the browser.
🏠 About Me & Portfolio
|
⚙️ Program Simulator
|
📍 Path Finder Visualizer
|
📊 Sorting Algorithms
|
- 🎮 Interactive Simulations: Visualize logic (Stack operations, Graph traversals, Pathfinding) without needing a compiler.
- 💻 Code Repository: Access full, copy-ready C source code for 12+ standard DSA programs.
- 🎨 Modern UI/UX:
- Dark/Light Mode toggle for comfortable reading.
- Responsive Design built with Tailwind CSS.
- Copy-to-Clipboard functionality for instant usage.
- 👨💻 Integrated Portfolio: A dedicated section to showcase student/developer details.
| Component | Technology |
|---|---|
| Frontend | React (v18+) |
| Language | TypeScript |
| Build Tool | Vite |
| Styling | Tailwind CSS |
| Icons | Lucide React |
The application includes simulations and source code for the following curriculum:
| ID | Topic | Description |
|---|---|---|
| 1 | Weekly Calendar | Struct usage and dynamic memory allocation. |
| 2 | String Operations | Pattern matching and replacement algorithms. |
| 3 | Stack Operations | Push, pop, overflow checks, and palindrome validation. |
| 4 | Expression Conversion | Infix to Postfix conversion logic. |
| 5a | Postfix Evaluation | Mathematical evaluation of postfix expressions. |
| 5b | Tower of Hanoi | Recursion visualization. |
| 6 | Circular Queue | Array-based queue implementation. |
| 7 | Singly Linked List | Student data management (Insert/Delete/Display). |
| 8 | Doubly Linked List | (Placeholder/Coming Soon) |
| 9 | Polynomials | Addition and evaluation using Linked Lists. |
| 10 | Binary Search Tree | Creation, Traversals (In/Pre/Post), and Search. |
| 11 | Graph Algorithms | BFS (Breadth-First) and DFS (Depth-First) search. |
| 12 | Hashing | Hash table implementation with linear probing. |
Follow these steps to run the project locally on your machine.
- Node.js (v16 or higher)
- npm (Node Package Manager)
-
Clone the repository
git clone [https://github.com/yourusername/dsa-study-hub.git](https://github.com/yourusername/dsa-study-hub.git) cd dsa-study-hub -
Install dependencies
npm install
-
Run the development server
npm run dev
-
Open in Browser Click the link shown in the terminal (usually
http://localhost:5173) to view the app.
To update the image in the "About Me" section:
- Place your image file (e.g.,
profile.jpg) in thesrc/folder. - Open
src/App.tsx. - Import the image at the top:
import profilePic from './profile.jpg';
- Find the
<img>tag in the About section and update the src:<img src={profilePic} alt="Profile" ... />
To add a new program (e.g., Program 13):
- Add the C code to the
C_CODEdictionary insrc/App.tsx. - Add a new entry to the
programsarray in the menu. - Add a state handler (e.g.,
handleProgram13Input) for the interactive logic. - Add a render block in the
returnstatement to display the UI.
Contributions are welcome! If you have better C code examples, want to improve the simulations, or fix a bug:
- Fork the Project.
- Create your Feature Branch (
git checkout -b feature/AmazingFeature). - Commit your Changes (
git commit -m 'Add some AmazingFeature'). - Push to the Branch (
git push origin feature/AmazingFeature). - Open a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Happy Coding! 🚀
Made with ❤️ by Rohith R




