摘要: In MATLAB, there is a very useful function called 'reshape', which can reshape a matrix into a new one with different size but keep its original data. 阅读全文
posted @ 2017-11-23 23:17 皇家大鹏鹏 阅读(214) 评论(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 @ 2017-11-23 22:06 皇家大鹏鹏 阅读(218) 评论(0) 推荐(0)