Skip to content
A collection of algorithms written in javascript
Branch: master
Clone or download
JimiPedros and amilajack Add some really simple time complexity examples (#93)
* Create question_one.js

* Create question_two.js

* Create question_three.js

* Rename question_three.js to question_3.js

* Rename question_3.js to Q3.js

* Rename question_one.js to Question1.js

* Rename question_two.js to Question2.js

* Rename Q3.js to Question3.js

* Create Question4.js
Latest commit 5fab966 Mar 29, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Binary Fixed code style linting infra Apr 19, 2018
CTCI infra(chore): lint --fix code styles Oct 12, 2018
Complexity
DataStructures
General Fixed code style linting infra Apr 19, 2018
LeetCode Fixed code style linting infra Apr 19, 2018
Math bump deps to latest semver (#64) Sep 16, 2018
Paradigmns/Functional Added flowtype annotation to all files, added eslint rule Nov 16, 2016
ProgrammingParadigms/Functional Added SquareRoot implementation Nov 26, 2016
Puzzles
Recursion
Search Update BinarySearch.js Mar 3, 2019
Sorting Fixed code style linting infra Apr 19, 2018
Strings
Web Migration to jest (#41) Mar 6, 2017
test infra(chore): lint --fix code styles Oct 12, 2018
.babelrc infra(chore): upgrade to babel 7 Oct 12, 2018
.editorconfig Added npm, babel support, jscs Mar 22, 2016
.eslintignore
.eslintrc infra(chore): lint --fix code styles Oct 12, 2018
.flowconfig Bumped dep versions Feb 17, 2018
.gitignore
.travis.yml infra(chore): upgrade to babel 7 Oct 12, 2018
README.md
package.json chore(deps): update dependency husky to ^1.1.4 (#79) Nov 13, 2018
renovate.json Update renovate.json Nov 28, 2018
yarn.lock

README.md

JS Algos

A list of Computer Science concepts solved and explained in JavaScript (ES6)

Build Status

Requirements:

  • node >= 10 and yarn >= 1.6.0

Getting Started

# Setup
git clone https://github.com/amilajack/js-algorithms.git
cd js-algorithms
yarn

# Test
yarn test

# Running individual files
yarn global add @babel/cli
# Running/testing files
babel-node General/PrintKDistance.js

Support

If this project is saving you (or your team) time, please consider supporting it on Patreon 👍 thank you!

Planned Implementations

  • Algorithms
  • Data Structures
  • Challenge Questions
  • Time/Space Complexity Analysis
  • Search Algorithms
  • Sorting Algorithms

Contributing

  • Requirements:
  • Time-space complexities of each method (insert, delete, access, etc)
  • Please feel free to contribute any design patters, algorithms, or other kinds of code
  • All contributions are welcome!
You can’t perform that action at this time.