Radmehr avatar
Radmehr Behzadfar

Interactive DSA Terminal

An interactive terminal interface for exploring Data Structures and Algorithms. Run algorithms in real-time and see step-by-step execution with visual feedback.

Live Execution
Step-by-step Visualization
Multiple Algorithms

Sorting

  • • Bubble Sort
  • • Quick Sort
  • • Merge Sort

Searching

  • • Binary Search
  • • Linear Search

Graphs

  • • BFS
  • • DFS
  • • Dijkstra

Trees

  • • BST Operations
  • • AVL Trees

Interactive Terminal

Type help to get started
DSA Terminal

Quick Start:

  • help - Show available commands
  • project - Execute the DSA data cleaning project
  • run bubble-sort - Execute bubble sort algorithm
  • run binary-search - Execute binary search
  • run bfs - Run breadth-first search
  • run dfs - Run depth-first search
  • run dijkstra - Run Dijkstra's algorithm
  • clear - Clear terminal and remove output files
  • reset - Reset terminal completely

💡 Tip: Use Tab for auto-completion and ↑/↓ arrows for command history. Page reload will reset everything completely.

Features

Real-time Execution

Watch algorithms execute step-by-step with real-time output and visual feedback. Each operation is displayed as it happens, making it easy to understand the algorithm flow.

Interactive Commands

Use familiar terminal commands to navigate and execute algorithms. The interface supports command history, tab completion, and error handling.

Multiple Algorithms

Explore various sorting, searching, graph traversal, and tree algorithms. Each algorithm is implemented with detailed step-by-step explanations.

Educational Focus

Designed for learning and understanding algorithm concepts. Perfect for students, developers, and anyone interested in computer science fundamentals.

Technical Implementation

Frontend Technologies

  • Next.js 14 - React framework
  • xterm.js - Terminal emulator
  • TypeScript - Type safety
  • Tailwind CSS - Styling

Algorithm Features

  • Async Execution - Non-blocking algorithm runs
  • Step Visualization - Real-time progress display
  • Error Handling - Graceful error management
  • Buffer Management - Clean terminal state

DSA Project Repository

This terminal simulates the execution of your actual DSA project:

Repository: github.com/seneca-dsa456-w25/project-g3-ssharma627-nbist1-rbehzadfar

Project: Data cleaning, organization, and extraction from open datasets

Team: Radmehr Behzadfar, Nirajan Bist, Sujan Sharma

Project Structure:

dsa-project/
├── task.md          - Project requirements
├── utils.py         - Utility functions  
├── project.py       - Main execution script
├── requirements.txt - Python dependencies
└── README          - Project documentation

Note: The terminal simulates the project execution. Use project command to see the simulated data processing workflow.

Comments & Feedback

You need an account to comment. Sign in or create one.
No comments yet.