摘要: 1074. Reversing Linked List (25)Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For exa... 阅读全文
posted @ 2015-08-14 21:00 JackWang822 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 1073. Scientific Notation (20)Scientific notation is the way that scientists easily handle very large numbers or very small numbers. The notation matc... 阅读全文
posted @ 2015-08-14 20:22 JackWang822 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 1071. Speech Patterns (25)People often have a preference among synonyms of the same word. For example, some may prefer "the police", while others may ... 阅读全文
posted @ 2015-08-14 19:47 JackWang822 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 1070. Mooncake (25)Mooncake is a Chinese bakery product traditionally eaten during the Mid-Autumn Festival. Many types of fillings and crusts can be f... 阅读全文
posted @ 2015-08-14 18:30 JackWang822 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 1067. Sort with Swap(0,*) (25)Given any permutation of the numbers {0, 1, 2,..., N-1}, it is easy to sort them in increasing order. But what if Swap(0... 阅读全文
posted @ 2015-08-14 17:38 JackWang822 阅读(264) 评论(0) 推荐(0) 编辑