8-algorithm快速判断算法的性质 李钟意讲前端 2020-09-13 230 阅读1分钟 // O(n) n值越大执行时间呈线性增长 看到是(单))循环 // O(1) n值越大不会影响执行时间 看到函数没有循环也没有调用其他函数