![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Exercise_Algo
文章平均质量分 78
duguyixiaono1
这个作者很懒,什么都没留下…
展开
-
Maximum Subsequence Sum Problem最大顺序子序列求和
说明:仅仅是看到这个小问题,自己动手写一个,练习练习而已。问题描述:(From Page 47 in Book )Given(possibly negative) integers A1,A2,...,An,find the maximum value of \sum_(k=i)^jAk. For convenience, the maximum subsequence sum is原创 2013-04-28 23:41:22 · 1172 阅读 · 0 评论 -
Binary Search二分查找
说明:仅仅作回顾练习话说Binary Serach是CSE中最基本最基本的问题,但是,《编程珠机》里号称“提供充足的时间,竟然仅有10%的专业程序员能将这个小程序编写正确”、“虽然第一篇二分搜索论文在1946年就发表了,但是第一个没有错误的二分搜索程序却直到1962年才实现”,确实很“触目惊心”。这里只是本人复习中的一些思考过程,并写下来而已。问题描述:Given an integ原创 2013-04-30 17:08:53 · 1108 阅读 · 0 评论