摘要: Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array. 给出一个数组包含n个不同的从0到n取出的数,从中找出一个丢失的的 阅读全文
posted @ 2016-07-17 16:04 ShawnChang 阅读(95) 评论(0) 推荐(0)
摘要: We are playing the Guess Game. The game is as follows: 我们来玩一个游戏,规则如下: I pick a number from 1 to n. You have to guess which number I picked. 我从1到n之间选择一 阅读全文
posted @ 2016-07-17 15:40 ShawnChang 阅读(572) 评论(0) 推荐(0)