Quick sort Ellie


Binary Search snippet 1.0

Performs an iterative implementation of binary search and counts all the critical operations. The algorithm is tested on arrays from 1-100 in size.
The arrays are sorted using a simple bubblesort to ensure a sorted array for searching. ...

Bubble Sort 1.0

Bubble sort demo containing reuseable methods for bubble sorting arrays. The program uses the bubble sort methods on arrays of between 1 and 100 pieces of data and prints the number of comparisons made each time. The count variable keeps track ...