Algorithms and Source Code

Textual Algorithms

Ordinal suffix Defines the ordinal suffix of a number, in english. Source
Roman to natural Algorithm converting roman numbers into decimal numbers. Source
Natural to Roman Converts natural numbers into roman notation. Source
Words Counts words in a text file. Source
Booklet and header C algorithm to print a booklet or a book.
Plural Just two C macros to convert word to plural.

Mathematical Algorithms

Combinations Calculates the number of combinations of n items, m times. Source.
Factorial Algorithm calculating factorials. Source.
Fibonacci - Iterative Fibonacci's suite. Source.
Fibonacci - Recursive Recursive version of the algorithm. Source.
GCD Greatest common divisor to two integers.
Median The median is the most probable value in a list.
Prime Factors Prime factors of an integer or a list of integers. Source.
Radian Converts between radians and degrees.

Answers by Algorithms

Body Mass Formulas to calculate the body mass according to height and weight, and the ideal weight. Source
Body Mass Europa Same as above, height in centimeters, weight in kilogs. Source
Calendar Algorithm displaying the calendar for a given month. Source
Convert Any Convert anything, km, yards, kg, etc... Source
Day of week Formula to know the day of week for a given date. Source
Inches Converts inches to feets and inches.

Algorithms on Lists and Arrays

Binary search Find quickly a value in a sorted list.
Merge Sort Sorting array of integer. Source
Quick sort integers Sorting array of integers. Source
Quick sort generic Sorting array of any type of variables.

Graphical Algorithms

Links  
GreyCStoration Restore pictures and photos. Usable to denoise, inpaint and resize images.
Origin3D Algorithm to build a landscape.
FAQ Answers about graphical algorithms.
Colorization Colorize B&W images and videos
Planarity Boyer-Myrvold planarity algorithm.

Algorithms for the Programmer's Library

Array Of Bits Store economically boolean value into array of integers, as backend. Source
Curly braces Algorithm testing source file for unmatched curly braces.
Day of week Know the day of week for a given date. Source
Directory Tree Display content of directory and sub-directories. Recusive algorithm. Source
Plural Just two C macros to make words plurals.
Random Generator Simple random number generator demo (see also built-ins rand and randomize). Source.
To Unix Convert a DOS or Windows text file to Unix. (Replace CR+LF by LF). Source.
Links
Programmers' algorithms Miscellaneous algorithms.
Path Conversion Convert between absolute and local paths.
Dictionary of
algorithms
List of algorithms.