You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

149 B

二分查找与线性查找的比较

  • 二分查找
    • 复杂度O(log n)
    • 前提必须进行排序
  • 线性查找
    • 复杂度O(n)