**Sorting Algorithm Tutorials - Herong's Tutorial Examples** - 6.12, by Herong Yang

Bubble Sort Algorithm and Java Implementation

This chapter provides tutorial notes and codes on the Bubble Sort algorithm. Topics include introduction of the Bubble Sort algorithm, Java implementation and performance of the Bubble Sort algorithm.

Bubble Sort - Algorithm Introduction

Conclusions:

- "Bubble Sort" algorithm is simple and easy to understand.
- "Bubble Sort" algorithm performance is O(N*N), where N is the number of elements to be sorted.
- "Bubble Sort" algorithm is much slower than "Insertion Sort" and "Selection Sort" algorithms.

Table of Contents

Introduction of Sorting Algorithms

Java API for Sorting Algorithms

Insertion Sort Algorithm and Java Implementation

Selection Sort Algorithm and Java Implementation

►Bubble Sort Algorithm and Java Implementation

Quicksort Algorithm and Java Implementation

Merge Sort Algorithm and Java Implementation

Heap Sort Algorithm and Java Implementation

Shell Sort Algorithm and Java Implementation

Sorting Algorithms Implementations in PHP

Sorting Algorithms Implementations in Perl

Sorting Algorithms Implementations in Python