
算法
ustccw
面朝大海, 春暖花开!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
计数排序,计算差值
一:问题描述Description: Given an unsorted array, find the maximum difference between the successive elements in its sorted form. Try to solve it in linear time/space. You may assume all elements in the arra原创 2015-05-17 22:50:15 · 481 阅读 · 0 评论 -
两端入栈
一:问题描述Description: Much to Mr. Book’s amazement, his entire algorithm class has completed the homework that he assigned only the day before. The students have dumped their homework, one page per studen原创 2015-05-18 13:18:24 · 499 阅读 · 0 评论 -
分数->小数
一:问题描述Description: As we know, a rational number is a number that can be represented as y/x where x and y are integers and y is not equal to zero. On the hand, a rational number could also be represent原创 2015-05-17 22:33:42 · 412 阅读 · 0 评论