Skip to content

Syeoryn/constant.js

Repository files navigation

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published