/Algorithm-Collection

A collection of various algorithm implimentations

Primary LanguageCMIT LicenseMIT

Algorithm-Collection

A collection of various algorithm implimentations (and other short scripts).

File Notes

"binary_search.c": An implimentation of a Binary Search algorithm (https://en.wikipedia.org/wiki/Binary_search_algorithm).

"counting_sort.c": An implimentation of a Counting Sort algorithm (https://en.wikipedia.org/wiki/Counting_sort).

"largest_prime.c": Calculates the largest prime factor of a number using a modified Trial Division algorithm (https://en.wikipedia.org/wiki/Trial_division).

"pig_latin.js": Translates words into pig latin.

"random_array.c": Generates and prints an array of random integers.

"recover.c": Recovers JPEG images which have been deleted from a disk image. Solution to Problem Set 4 of Harvard University's massive-open-online-course CS50, uploaded with permission of Professor David J. Malan.

"roman_numerals.js": Algorithm to convert integers from arabic to roman numerals.