搜索资源列表
sorting_and_searching
- 包括了常用的一些排序算法与搜索算法,如快速排序,桶排序,堆排序,冒泡排序,以及二分搜索等-Includes a number of commonly used sorting algorithms and search algorithms, such as quick sort, bucket sort, heap sort, bubble sort, and the two sub-search, and so
a
- Problem A: Pouring Water-I guess that everybody can play this game: There are two buckets(水桶). Bucket 1 has the capacity X and bucket 2 has Y liters(升). Then you are asked to measure Z liters of water in one of the two buckets, using the three operat
Bucket-sort-binary-search
- 随机产生一定范围内的数然后进行桶排序,最后二分查找这些数中的一些数。-Generating a random number within a certain range and then the bucket sort, the last two of these numbers to find the couple.