Skip to content

AhmedEl-Gohary/sorting-algorithms-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sorting Algorithms Visualizer

A visualization tool for different sorting algorithms including Merge Sort, Heap Sort, Insertion Sort and Bubble Sort

You can see it in action here

visualizer

Installation

Linux (Ubuntu)

First update your apt package manager

sudo apt update

Next, check if Java is already installed:

javac -version

If Java is not already installed, you'll get the following message

Output
Command 'java' not found, but can be installed with:

sudo apt install default-jre              # version 2:1.11-72build1, or
sudo apt install openjdk-11-jre-headless  # version 11.0.14+9-0ubuntu2
sudo apt install openjdk-17-jre-headless  # version 17.0.2+8-1
sudo apt install openjdk-18-jre-headless  # version 18~36ea-1
sudo apt install openjdk-8-jre-headless   # version 8u312-b07-0ubuntu1

Execute the following command to install the JDK:

sudo apt install default-jdk

Verify that the JDK is installed by checking the version of javac, the Java compiler:

javac -version

If successful You’ll see the following output:

Output
javac 11.0.14

Usage

Clone the repo then compile and run Main.java

About

A tool that visualizes different sorting algorithms

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages