上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 98 下一页
摘要: 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 @ 2020-05-11 23:52 Veritas_des_Liberty 阅读(195) 评论(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 symme 阅读全文
posted @ 2020-05-11 23:28 Veritas_des_Liberty 阅读(183) 评论(0) 推荐(0) 编辑
摘要: Being unique is so important to people on Mars that even their lottery is designed in a unique way. The rule of winning is simple: one bets on a numbe 阅读全文
posted @ 2020-05-11 23:05 Veritas_des_Liberty 阅读(203) 评论(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 @ 2020-05-11 22:58 Veritas_des_Liberty 阅读(166) 评论(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 @ 2020-05-10 23:30 Veritas_des_Liberty 阅读(137) 评论(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 @ 2020-05-10 22:09 Veritas_des_Liberty 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Given an undirected tree consisting of n vertices numbered from 0 to n-1, which has some apples in their vertices. You spend 1 second to walk over one 阅读全文
posted @ 2020-05-10 18:05 Veritas_des_Liberty 阅读(323) 评论(0) 推荐(0) 编辑
摘要: Eva is trying to make her own color stripe out of a given one. She would like to keep only her favorite colors in her favorite order by cutting off th 阅读全文
posted @ 2020-05-09 15:43 Veritas_des_Liberty 阅读(241) 评论(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 @ 2020-05-09 14:33 Veritas_des_Liberty 阅读(211) 评论(0) 推荐(0) 编辑
摘要: Zhejiang University has 40,000 students and provides 2,500 courses. Now given the registered course list of each student, you are supposed to output t 阅读全文
posted @ 2020-05-09 13:37 Veritas_des_Liberty 阅读(182) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 98 下一页