Syeoryn / constant.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

constant.js

A library for computing your favorite algorithms in constant time!

Current functionality:

  • Identity
  • nFactorial
  • nRooks
  • nQueens
  • numbers
  • words (English)
  • A particularly useful function for debugging. Just invoke the 'why' function and pass a brief description of your problem, in plain english, as a string. Your code will be analyzed based on your input and you will have an answer in constant time.
  • usefulRandom. Functions arity is either 1, 2, or 3. Returns a random number between the first and second parameter (second parameter assumed to be 0 if falsy), and returns an integer value if third parameter is truthy.
  • google

About


Languages

Language:JavaScript 99.9%Language:CSS 0.1%