上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页
摘要: Mice and Riceis the name of a programming contest in which each programmer must write a piece of code to control the movements of a mouse in a given m... 阅读全文
posted @ 2015-03-04 16:27 Joilee 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Given a stack which can keep M numbers at most. Push N numbers in the order of 1, 2, 3, ..., N and pop randomly. You are supposed to tell if a given s... 阅读全文
posted @ 2015-03-04 14:45 Joilee 阅读(254) 评论(0) 推荐(0) 编辑
摘要: The task of this problem is simple: insert a sequence of distinct positive integers into a hash table, and output the positions of the input numbers. ... 阅读全文
posted @ 2015-03-04 11:39 Joilee 阅读(224) 评论(0) 推荐(0) 编辑
摘要: A linked list consists of a series of structures, which are not necessarily adjacent in memory. We assume that each structure contains an integer key ... 阅读全文
posted @ 2015-03-04 01:12 Joilee 阅读(123) 评论(0) 推荐(0) 编辑
摘要: To store English words, one method is to use linked lists and store a word letter by letter. To save some space, we may let the words share the same s... 阅读全文
posted @ 2015-03-03 19:21 Joilee 阅读(120) 评论(0) 推荐(0) 编辑
摘要: A Digital Library contains millions of books, stored according to their titles, authors, key words of their abstracts, publishers, and published years... 阅读全文
posted @ 2015-03-02 21:57 Joilee 阅读(154) 评论(0) 推荐(0) 编辑
摘要: People often have a preference among synonyms of the same word. For example, some may prefer "the police", while others may prefer "the cops". Analyzi... 阅读全文
posted @ 2015-03-02 15:37 Joilee 阅读(114) 评论(0) 推荐(0) 编辑
摘要: Behind the scenes in the computer's memory, color is always talked about as a series of 24 bits of information for each pixel. In an image, the color ... 阅读全文
posted @ 2015-03-02 10:59 Joilee 阅读(127) 评论(0) 推荐(0) 编辑
摘要: If a machine can save only 3 significant digits, the float numbers 12300 and 12358.9 are considered equal since they are both saved as 0.123*105with s... 阅读全文
posted @ 2015-03-02 00:28 Joilee 阅读(147) 评论(0) 推荐(0) 编辑
摘要: Given two sets of integers, the similarity of the sets is defined to be Nc/Nt*100%, where Ncis the number of distinct common numbers shared by the two... 阅读全文
posted @ 2015-03-01 17:16 Joilee 阅读(117) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页