摘要:
Suppose you have a random list of people standing in a queue. Each person is described by a pair of integers (h, k), where h is the height of the pers 阅读全文
posted @ 2017-02-15 23:32
amazingzoe
阅读(179)
评论(0)
推荐(0)
摘要:
A sequence of number is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the 阅读全文
posted @ 2017-02-15 23:08
amazingzoe
阅读(129)
评论(0)
推荐(0)
摘要:
Given a binary tree, collect a tree's nodes as if you were doing this: Collect and remove all leaves, repeat until the tree is empty. Example:Given bi 阅读全文
posted @ 2017-02-15 22:48
amazingzoe
阅读(111)
评论(0)
推荐(0)