/js-sorting-algorithms

Whiteboarding myself

Primary LanguageJavaScript

  • White Boarding Myself in JS

Using the following algorithms from best to worst performance:

  • bubble sort (O(n^2))
  • merge sort (O(n log n))
  • quick sort ( O(n^2) - O(n log n) )
  • selection sort (O(1) - O(n^2) )

ES6/7 Syntax

  • async and await