Bubble Sort in Java

Bubble Sort is a simple sorting algorithm. It repeatedly comparing each of the adjacent pair and swap them like the above animation. 

Comments

Popular posts from this blog

The Sneaky PostgreSQL Bug That Cost Me 3 Hours (And How to Fix It in 3 Minutes)

Missionaries & Canibal Problem in AI using Pro Log

 A Complete Guide to Understanding JWT and Implementing It in Your Applications