ALGORITHMS in C

Tested with Bloodshed Dev-C++ or Turbo C

 

Computations

Raising to a power
N Factorial
Maximum Common Divisor
Square Root
Calculate pi by Monte Carlo method
ďrapezoidal rule Integration
Eratosthenes's Sieve
2nd degree Equation

Dates

Leap Year
Day of the Week

Arrays

One dimensional array operations
Two dimensional array sums
Array Multiplication
 

Searching

Linear Search

Sorting

Sorting & Searching
Insertion Sort & Merge Sort

 Data Structures

Stack
Queue
 

Bits and Binary

Decimal to Binary
Bit Operations
 

Games

Hangman