All Projects → barretlee → Algorithms

barretlee / Algorithms

Licence: mit
All algorithms writing with javascript in the book 'Algorithms Fourth Edition'.

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Algorithms

Struc2vec
This repository provides a reference implementation of struc2vec.
Stars: ✭ 291 (-9.63%)
Mutual labels:  algorithm
Mytinystl
Achieve a tiny STL in C++11
Stars: ✭ 4,813 (+1394.72%)
Mutual labels:  algorithm
Algorithms
algorithms playground for common questions
Stars: ✭ 3,227 (+902.17%)
Mutual labels:  algorithm
Data Structure Php Clanguage
对于数据结构和算法类的东西,我工作有些年份了,大学也有所涉猎,积累了一些内容,不高产不母猪,打我自己脸
Stars: ✭ 299 (-7.14%)
Mutual labels:  algorithm
Ai Learn
人工智能学习路线图,整理近200个实战案例与项目,免费提供配套教材,零基础入门,就业实战!包括:Python,数学,机器学习,数据分析,深度学习,计算机视觉,自然语言处理,PyTorch tensorflow machine-learning,deep-learning data-analysis data-mining mathematics data-science artificial-intelligence python tensorflow tensorflow2 caffe keras pytorch algorithm numpy pandas matplotlib seaborn nlp cv等热门领域
Stars: ✭ 4,387 (+1262.42%)
Mutual labels:  algorithm
Algorithm Exercise
Data Structure and Algorithm notes. 数据结构与算法/leetcode/lintcode题解/
Stars: ✭ 3,276 (+917.39%)
Mutual labels:  algorithm
Mathematicaforprediction
Mathematica implementations of machine learning algorithms used for prediction and personalization.
Stars: ✭ 288 (-10.56%)
Mutual labels:  algorithm
Klib
A standalone and lightweight C library
Stars: ✭ 3,442 (+968.94%)
Mutual labels:  algorithm
Awesome Programming Books
📚 经典技术书籍推荐,持续更新...
Stars: ✭ 3,472 (+978.26%)
Mutual labels:  algorithm
Platypus
A Free and Open Source Python Library for Multiobjective Optimization
Stars: ✭ 313 (-2.8%)
Mutual labels:  algorithm
Bild
Image processing algorithms in pure Go
Stars: ✭ 3,431 (+965.53%)
Mutual labels:  algorithm
Machine Learning For Beginner By Python3
为机器学习的入门者提供多种基于实例的sklearn、TensorFlow以及自编函数(AnFany)的ML算法程序。
Stars: ✭ 305 (-5.28%)
Mutual labels:  algorithm
Stepcount
一个还算准确的计步器算法/a step count algorithm
Stars: ✭ 310 (-3.73%)
Mutual labels:  algorithm
Androidlife
📔 CaMnter's android learning life and footprint.
Stars: ✭ 293 (-9.01%)
Mutual labels:  algorithm
Clrs
Some exercises and problems in Introduction to Algorithms 3rd edition.
Stars: ✭ 313 (-2.8%)
Mutual labels:  algorithm
Awesome Golang Algorithm
📝 LeetCode of algorithms with golang solution(updating).
Stars: ✭ 3,217 (+899.07%)
Mutual labels:  algorithm
Coderchef Kitchen
The official repository for our programming kitchen which consists of 50+ delicious programming recipes having all the interesting ingredients ranging from dynamic programming, graph theory, linked lists and much more. All the articles contain beautiful images and some gif/video at times to help clear important concepts.
Stars: ✭ 306 (-4.97%)
Mutual labels:  algorithm
Algorithmanddatastructure
互联网行业研发岗面试必备算法题配图解析及代码
Stars: ✭ 318 (-1.24%)
Mutual labels:  algorithm
Carefree Learn
A minimal Automatic Machine Learning (AutoML) solution for tabular datasets based on PyTorch
Stars: ✭ 316 (-1.86%)
Mutual labels:  algorithm
Algorithm
常用算法和数据结构讲解,面试算法题/leetcode解题,提供golang/js版本
Stars: ✭ 312 (-3.11%)
Mutual labels:  algorithm

Algorithms in JavaScript

Detail & Discusion (讨论和细节)

All algorithms writing with JavaScript in book 'Algorithms Fourth Edition'.

Usage

Run generator/create.js to generate code template.

# create a file with `file.xtpl` at `chapter/chapter-1-xxx/1.2-xxx/test.js`
node generator/create 1.2/test

# delete file `chapter/chapter-1-xxx/1.2-xxx/test.js` if exists
node generator/create 1.2/test -d

The template is:

console.log('<%- fileName %>:')
/* input start */
var input = require('../../../generator/index').getRandomNumbers();
/* input end */
console.log('> input: ' + input);


// <%- fileName %>
function <%- fileName %>(input) {
  var output;
  return output;
}


/* output start */
console.log('> output: ' + <%- fileName %>(input));
/* output end */

There are many functions in genetator/index for generating data. such as:

var input = require('./generator/index').getRandomNumbers();
// -> [random numbers which length is default 20 between 0 to 1E5]

License

The MIT License (MIT)

Copyright (c) 2016 小胡子哥

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].