摘要: Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the arr 阅读全文
posted @ 2016-05-18 11:10 no_one 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 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. For example, giv 阅读全文
posted @ 2016-05-18 10:21 no_one 阅读(113) 评论(0) 推荐(0) 编辑