1.二分法:
https://blog.csdn.net/u014430697/article/details/49968495
非递归:
定义low,high;
while(low<=high)时不断循环;
递归:
不断自我调用,代替while;
posted on 2018-09-05 15:47 IDVD 阅读(100) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 IDVD Powered by .NET 9.0 on Kubernetes