Skip to content

vmdharan/math-algorithms

Repository files navigation

math-algorithms

Math Algorithms

Primes

Sieve of Eratosthenes - prime number generator

Fibonacci

Fibonacci(n) - recursive method
FibonacciDP(n) - iterative method

Catalan

Catalan(n) - recursive method
CatalanDP(n) - iterative method

Running code locally

  1. Type the 'gulp' command in the project root directory to build. (https://gulpjs.com/)
  2. Type 'node .\dist\main.js' to test.