Visualize Algorithms Like Never Before

Interactive animations for sorting & searching algorithms

🔄 Sorting Algorithms

Bubble Sort

Repeatedly swaps adjacent elements until sorted.

Selection Sort

Repeatedly finds the smallest element and places it at the beginning.

Insertion Sort

Builds the sorted array one item at a time.

Merge Sort

Divides the array into halves, sorts and merges them.

Quick Sort

Partitions the array and recursively sorts the partitions.

Heap Sort

Builds a heap and repeatedly extracts the maximum element.

⚙ CPU Scheduling

FCFS

First Come First Serve scheduling algorithm.

SJF

Shortest Job First scheduling algorithm.

Round Robin

Each process is assigned a fixed time slot in a cyclic way.

🔍 Searching Algorithms

Linear Search

Checks each element until the target is found.

Binary Search

Efficiently searches a sorted array by repeatedly dividing the search interval in half.

🧠 Page Replacement

FIFO

Replaces the oldest page in memory.

LRU

Replaces the least recently used page.

Optimal

Replaces the page used farthest in future.

🕸 Graph Algorithms

Breadth First Search

Explores graph level by level using a queue.

Depth First Search

Explores graph deeply before backtracking.

Dijkstra's Algorithm

Finds shortest paths from a source node to all other nodes in a weighted graph.

🧩 Memory Allocation

First Fit

Allocates each process to the first memory block large enough.

Best Fit

Allocates process to the smallest block that fits it.

Worst Fit

Allocates process to the largest available memory block.

💽 Disk Scheduling

Disk FCFS

Processes disk requests in the order they arrive.

SSTF

Selects the disk request closest to the current head.

SCAN

Disk head moves like an elevator servicing requests.

🎨 Computer Graphics Algorithms

DDA Line Drawing

Draws a line by incrementally plotting pixels between two points.

Bresenham Line

Efficient line drawing algorithm using integer calculations.

Midpoint Circle

Draws a circle using symmetry and midpoint decision.