摘要: 448. Find All Numbers Disappeared in an Array Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others 阅读全文
posted @ 2017-03-02 16:09 Black_Knight 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 283. Move Zeroes Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements. 阅读全文
posted @ 2017-03-02 15:29 Black_Knight 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 268. 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, 阅读全文
posted @ 2017-03-02 14:00 Black_Knight 阅读(720) 评论(0) 推荐(0) 编辑