Skip to content

evbacher/algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

algorithms

This is a repository where I am saving my programs exploring various algorithms, starting with sorting algorithms.

Sorting algorithms

Bubble sort

See https://en.wikipedia.org/wiki/Bubble_sort for a general overview. My first commit of the bubble sort code is not optimized at all, but I should try that out.

Quicksort

See https://en.wikipedia.org/wiki/Quicksort and Programming Pearls by Jon Bentley for information about this algorithm.

Counting sort

A distribution sort that can be faster than quicksort for large collections of integers with a relatively small range of values (say 1000).

Search algorithms

Linear search

When you have an unsorted array, linear search (a brute force check of every element) may be the only option.

About

learning about algorithms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages