摘要: 1088. Rational Arithmetic For two rational numbers, your task is to implement the basic arithmetics, that is, to calculate their sum, difference, prod 阅读全文
posted @ 2016-08-14 17:35 zkang 阅读(217) 评论(0) 推荐(0)
摘要: 1078. Hashing The task of this problem is simple: insert a sequence of distinct positive integers into a hash table, and output the positions of the i 阅读全文
posted @ 2016-08-14 17:29 zkang 阅读(160) 评论(0) 推荐(0)
摘要: 1090. Highest Price in Supply Chain A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商) everyone involved in moving a 阅读全文
posted @ 2016-08-14 17:21 zkang 阅读(426) 评论(0) 推荐(0)
摘要: 1064. Complete Binary Search Tree A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties: The left subt 阅读全文
posted @ 2016-08-14 10:05 zkang 阅读(272) 评论(0) 推荐(0)