2019年5月14日

566. Reshape the Matrix( 改变矩阵维度)

摘要: 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 @ 2019-05-14 21:31 shaer 阅读(263) 评论(0) 推荐(0) 编辑

283. Move Zeroes(把数组中的 0 移到末尾)

摘要: iven 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. Example: 方法三:移位(记 阅读全文

posted @ 2019-05-14 21:01 shaer 阅读(193) 评论(0) 推荐(0) 编辑

导航