[LeetCode] Missing Number 丢失的数字

Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array. For example, Given nums = [0, 1,
posted @ 2015-08-25 10:10  Grandyang  阅读(25213)  评论(4)    收藏  举报
Fork me on GitHub