11 2015 档案

摘要:package mainimport ( "fmt")func main() { //保存需要排序的Slice arr := []int{9, 3, 3, 4, 7, 2, 4, 7, 2, 1, 4, 7, 2, 11, 12, 11, 18, 19, 12, 3, 4, 7,... 阅读全文
posted @ 2015-11-22 15:34 achst 阅读(403) 评论(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,... 阅读全文
posted @ 2015-11-08 16:34 achst 阅读(173) 评论(0) 推荐(0)