Skip to content

Latest commit

ย 

History

History
78 lines (50 loc) ยท 1.81 KB

File metadata and controls

78 lines (50 loc) ยท 1.81 KB

๐Ÿงฉ Algorithms Visualizer

Live Demo: ๐Ÿ‘‰ https://sofiia13.github.io/algorithms-visualizer/

An interactive algorithms visualizer that demonstrates how different sorting algorithms work โ€” step by step, in real time.
Built for learning, exploring, and just enjoying the beauty of algorithms โœจ


๐Ÿš€ Features

  • ๐ŸŽž๏ธ Real-time animation of sorting algorithms
  • โš™๏ธ Adjustable array size
  • ๐Ÿ’ก Clear and minimal UI built for intuition and fun
  • ๐ŸŒ Deployed on GitHub Pages

๐Ÿง  Implemented Algorithms

  • ๐Ÿซง Bubble Sort
  • ๐Ÿ” Selection Sort
  • โœ‹ Insertion Sort
  • โšก Quick Sort
  • ๐Ÿ”€ Merge Sort

๐Ÿ—„๏ธ Data Structures Visualizer

On a separate page of the project, you can visually explore how different data structures work:

  • ๐Ÿ”น Stack โ€” push/pop, LIFO

  • ๐Ÿ”น Queue โ€” enqueue/dequeue, FIFO

  • ๐Ÿ”น Priority Queue โ€” elements with priority

  • ๐Ÿ”น Heap โ€” insertion/deletion, sorting

The interactive visualizer helps understand how basic data structures operate and allows experimenting with them in real time.


๐Ÿ› ๏ธ Tech Stack

  • React (JavaScript ES6+)
  • HTML5 / CSS3
  • Vite or Create React App
  • GitHub Pages for deployment

๐Ÿงฉ Installation & Setup

1. Clone the repository

git clone https://github.com/sofiia13/algorithms-visualizer.git
cd algorithms-visualizer

2. Install dependencies

npm install

3. Run the development server

npm run dev

๐ŸŽฎ How to Use

  1. Click Generate New Array to create random data.

  2. Adjust Array Size and Animation Speed using sliders.

  3. Choose an algorithm from the dropdown list.

  4. Press Sort and watch how the algorithm works!