JavaScript-Algorithm-Learning icon indicating copy to clipboard operation
JavaScript-Algorithm-Learning copied to clipboard

πŸ¦‰ Code for some classical algorithm

JavaScript-Algorithm-Learning

Build Status

JavaScript code[ES2015] for some classical algorithm

Start

npm run test

LeetCode Classical Problems

List

  • unique an array ζ•°η»„εŽ»ι‡
  • random string ιšζœΊε­—η¬¦δΈ²
  • find duplicate char 寻找重倍字符
  • find the maxium value ε―»ζ‰Ύζœ€ε€§ε€Ό

Sort Algorithms

  • bubble Sort ε†’ζ³‘ζŽ’εΊ

  • quick Sort εΏ«ι€ŸζŽ’εΊ

  • selection sort ι€‰ζ‹©ζŽ’εΊ

  • shell sort ι€‰ζ‹©ζŽ’εΊ

  • heap sort ε †ζŽ’εΊ

  • fibonacci sequence 斐泒那ε₯‘ζ•°εˆ—

  • binary search tree δΊŒε‰ζŸ₯ζ‰Ύζ ‘

Reference

[Sorting Algorithm] (http://khan4019.github.io/front-end-Interview-Questions/sort.html)

coding-interview-tips