手机扫码访问

导航
您当前的位置:首页 > 高教类 > 工学类
问题:

[单选题]What is the difference between the fibSearch() algorithm and binSearch() algorithm? fibSearch()算法与binSearch()有什么区别?HSX答案窝(daanwo.com)-大学作业答案分享平台
ATheir return value is different 二者的返回值不同HSX答案窝(daanwo.com)-大学作业答案分享平台
BThe former is a recursive algorithm, and the latter is an iterative algorithm 前者是递归算法,后者是迭代算法HSX答案窝(daanwo.com)-大学作业答案分享平台
CThere are different ways to choose the axis point mi 二者选取轴点mi的方式不同HSX答案窝(daanwo.com)-大学作业答案分享平台
DThe former's asymptotic time complexity is lower than the latter, so the former is more efficient 前者的渐进时间复杂度低于后者,故前者效率更高
答案解析:

相关问题
关于我们 | 用户指南 | 版权声明 | 给我留言 | 联系我们 | 积分商城 | 答案求助 | 网站地图
Copyright © 2020 www.daanwo.com All Rights Reserved