摘要: 1016. Phone Bills (25)A long-distance telephone company charges its customers by the following rules:Making a long-distance call costs a certain amoun... 阅读全文
posted @ 2015-08-18 22:04 JackWang822 阅读(603) 评论(1) 推荐(0)
摘要: 1099. Build A Binary Search Tree (30)A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:The left su... 阅读全文
posted @ 2015-08-18 14:03 JackWang822 阅读(349) 评论(0) 推荐(0)
摘要: 1097. Deduplication on a Linked List (25)Given a singly linked list L with integer keys, you are supposed to remove the nodes with duplicated absolute... 阅读全文
posted @ 2015-08-18 13:34 JackWang822 阅读(213) 评论(0) 推荐(0)
摘要: 1096. Consecutive Factors (20)Among all the factors of a positive integer N, there may exist several consecutive numbers. For example, 630 can be fact... 阅读全文
posted @ 2015-08-18 12:57 JackWang822 阅读(341) 评论(0) 推荐(0)