摘要:
题目:计算完全二叉树的节点数目(二分法) Given a complete binary tree, count the number of nodes. Definition of a complete binary tree from Wikipedia:In a complete binary 阅读全文
摘要:
题目: There are N children standing in a line. Each child is assigned a rating value. You are giving candies to these children subjected to the followin 阅读全文