xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

super fast sort algorithm in js

sort algorithm

  1. Promise.race (return the fast one)
  2. Async / Await
// chrome & fast sort 快速排序

// firefox & merge sort 归并排序

const superFastSort = (arr = []) => {
  let result = [];
  // Promise.race + Async / Await
  return result;
}

JavaScript 算法可视化

https://visualgo.net/zh

Big(O) Notation

算法复杂度和大O表示法

https://www.bigocheatsheet.com/

https://algodaily.com/lessons/understanding-big-o-and-algorithmic-complexity

refs

https://github.com/xgqfrms/23-design-patterns-app/issues/1


Flag Counter

©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


原文地址:https://www.cnblogs.com/xgqfrms/p/13090521.html