上一页 1 ··· 6 7 8 9 10 11 12 13 14 下一页
摘要: Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which cou 阅读全文
posted @ 2017-11-03 09:46 gaoren 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Shopping in Mars is quite a different experience. The Mars people pay by chained diamonds. Each diamond has a value (in Mars dollars M$). When making 阅读全文
posted @ 2017-11-02 12:09 gaoren 阅读(212) 评论(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 @ 2017-11-01 10:46 gaoren 阅读(305) 评论(0) 推荐(0) 编辑
摘要: Zhejiang University has 40000 students and provides 2500 courses. Now given the registered course list of each student, you are supposed to output the 阅读全文
posted @ 2017-10-31 19:06 gaoren 阅读(187) 评论(0) 推荐(0) 编辑
摘要: Given two strings S1 and S2, S = S1 - S2 is defined to be the remaining string after taking all the characters in S2 from S1. Your task is simply to c 阅读全文
posted @ 2017-10-30 19:12 gaoren 阅读(168) 评论(0) 推荐(0) 编辑
摘要: The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pair of e 阅读全文
posted @ 2017-10-29 09:21 gaoren 阅读(149) 评论(0) 推荐(0) 编辑
摘要: One way that the police finds the head of a gang is to check people's phone calls. If there is a phone call between A and B, we say that A and B is re 阅读全文
posted @ 2017-10-28 20:29 gaoren 阅读(174) 评论(0) 推荐(0) 编辑
摘要: Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and in order to avoid "ins 阅读全文
posted @ 2017-10-27 21:21 gaoren 阅读(170) 评论(0) 推荐(0) 编辑
摘要: Given a string, you are supposed to output the length of the longest symmetric sub-string. For example, given "Is PAT&TAP symmetric?", the longest sym 阅读全文
posted @ 2017-10-27 16:46 gaoren 阅读(202) 评论(0) 推荐(0) 编辑
摘要: Zhejiang University has 40000 students and provides 2500 courses. Now given the student name lists of all the courses, you are supposed to output the 阅读全文
posted @ 2017-10-27 16:24 gaoren 阅读(168) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 下一页