Skip to content

liyuehua2016/AlgorithmDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithm

a Sails application

Update logs

  1. add implementation for QuickSort algorithm.
  2. add implementation for HeapSort algorithm.
  3. add implementation for BinarySearch algorithm.

Algorithm Lessons

  • Binary Search may return the second index if there are duplicate numbers in array.

Language Lessions

  • var pivot=(start_index + end_index)/2 may get a float value as javascript language is weak-type language.

About

practise demo about algorithms.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors