摘要: Given N integers, you are supposed to find the smallest positive integer that is NOT in the given list. Input Specification: Each input file contains 阅读全文
posted @ 2018-06-14 18:25 赖兴宇 阅读(716) 评论(0) 推荐(0)
摘要: Zhejiang University has 6 campuses and a lot of gates. From each gate we can collect the in/out times and the plate numbers of the cars crossing the g 阅读全文
posted @ 2018-06-14 16:54 赖兴宇 阅读(340) 评论(0) 推荐(0)
摘要: It is said that in 2013, there were about 100 graduate schools ready to proceed over 40,000 applications in Zhejiang Province. It would help a lot if 阅读全文
posted @ 2018-06-14 11:51 赖兴宇 阅读(342) 评论(0) 推荐(0)
摘要: A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties: The left subtree of a node contains only nodes 阅读全文
posted @ 2018-06-14 10:12 赖兴宇 阅读(163) 评论(0) 推荐(0)
摘要: There is a public bike service in Hangzhou City which provides great convenience to the tourists from all over the world. One may rent a bike at any s 阅读全文
posted @ 2018-06-14 00:58 赖兴宇 阅读(362) 评论(0) 推荐(0)