Seed7 
 FAQ 
 Manual 
 Screenshots 
 Examples 
 Algorithms 
 Download 
 Links 

 Algorithms 
 Sorting 
 Searching 
 Date & Time 
 String 
 Mathematics 
 File 
 Puzzles 
 Others 
 Algorithms 
 previous   up   next 

This argorithm collection contains algorithms from various areas. The algorithms in this collection are released under the GPL and LGPL.

  1. Sorting
    1. Bubble sort
    2. Selection sort
    3. Shaker sort
    4. Insertion sort
    5. Merge sort
    6. Merge sort with additional storage
    7. Heap sort
    8. Shell sort
    9. Quicksort
  2. Searching
    1. Recursive binary search in an array
    2. Iterative binary search in an array
    3. Linear search in an array
    4. Find the minimum element in an array
    5. Find the maximum element in an array
  3. Date & Time
    1. Determine if a given year is a leap year
    2. Compute the weekday
    3. Compute the day of year
    4. Compute the week number of a year
    5. Compute the year of the ISO 8601 week date
    6. Compute the week of the ISO 8601 week date
    7. Calculate the number of days in a month
    8. Convert a time into a julian day number
    9. Convert a julian day number into a time
    10. Compute the easter date for a given year
  4. String
    1. Replace tabs with the corresponding number of spaces
    2. Replace leading spaces with the corresponding number of tabs
    3. Encode a string using base64
    4. Compress a string using the Lempel Ziv Welch (LZW) compression
    5. Uncompress a Lempel Ziv Welch (LZW) compressed string
    6. Compress a string using the run length encoding of bzip2
    7. Decompress a string using the run length encoding of bzip2
    8. Compress a string using the run length encoding of PackBits
    9. Decompress a string using the run length encoding of PackBits
    10. Burrows-Wheeler transform (basic concept)
    11. Inverse Burrows-Wheeler transform (basic concept)
    12. Convert a character string to morse code
    13. Wildcard match used in command shells
  5. Mathematics
    1. Determine wether a given integer number is prime
    2. Function to calculate the prime factors of a number
    3. Verify if a given Mersenne number is prime
    4. Determine the greatest common divisor of two positive integer numbers
    5. Determine the least common multiple of two positive integer numbers
    6. Compute PI with 1000 decimal digits using John Machin's formula
    7. Compute PI with 1000 decimal digits using the Bailey/Borwein/Plouffe formula
    8. Write PI with 1000 decimal digits using Newtons formula
    9. Determine the truncated square root of a big integer number
    10. Exponentiation function for integer numbers
    11. Multiply integers using the peasant multiplication
    12. Matrix multiplication
    13. Random number generator
    14. Recursive fibonacci function
    15. Display 100 numbers of the fibonacci sequence
    16. The tak function
    17. The ackermann function
  6. File
    1. Convert files from windows to unix format
    2. Convert files from unix to windows format
    3. Copy all files from one directory to another directory
    4. Program that encodes and decodes with rot13
  7. Puzzles
    1. A program that writes itself
    2. Function to solve the Towers of Hanoi problem
    3. Write reciprocal values of the natural numbers from 1 to 20 with 60 digits
  8. Others
    1. Compute the sum of the elements of an array
    2. Compute the product of the elements of an array

 previous   up   next