上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 44 下一页
摘要: An inorder binary tree traversal can be implemented in a non-recursive way with a stack. For example, suppose that when a 6-node binary tree (with the 阅读全文
posted @ 2019-08-12 09:32 自由之翼Az 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Given a sequence of positive integers and another positive integer p. The sequence is said to be a perfect sequence if M≤m×p where M and m are the max 阅读全文
posted @ 2019-08-11 23:28 自由之翼Az 阅读(326) 评论(0) 推荐(0) 编辑
摘要: On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those keys will not appear on sc 阅读全文
posted @ 2019-08-11 22:35 自由之翼Az 阅读(134) 评论(0) 推荐(0) 编辑
摘要: Given a list of N student records with name, ID and grade. You are supposed to sort the records with respect to the grade in non-increasing order, and 阅读全文
posted @ 2019-08-11 20:45 自由之翼Az 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Given an integer with no more than 9 digits, you are supposed to read it in the traditional Chinese way. Output Fu first if it is negative. For exampl 阅读全文
posted @ 2019-08-11 20:25 自由之翼Az 阅读(292) 评论(0) 推荐(0) 编辑
摘要: Given N rational numbers in the form numerator/denominator, you are supposed to calculate their sum. Input Specification: Each input file contains one 阅读全文
posted @ 2019-08-09 13:28 自由之翼Az 阅读(176) 评论(0) 推荐(0) 编辑
摘要: It is said that in 2011, there are about 100 graduate schools ready to proceed over 40,000 applications in Zhejiang Province. It would help a lot if y 阅读全文
posted @ 2019-08-09 12:58 自由之翼Az 阅读(165) 评论(0) 推荐(0) 编辑
摘要: A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone involved in moving a product from supplier to customer 阅读全文
posted @ 2019-08-09 10:18 自由之翼Az 阅读(175) 评论(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 @ 2019-08-08 23:17 自由之翼Az 阅读(245) 评论(0) 推荐(0) 编辑
摘要: The Japanese language is notorious for its sentence ending particles. Personal preference of such particles can be considered as a reflection of the s 阅读全文
posted @ 2019-08-08 14:19 自由之翼Az 阅读(189) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 44 下一页