摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文