Spurs

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2017年8月15日

摘要: Given an integer array, find three numbers whose product is maximum and output the maximum product. Example 1: Example 2: Note: 1. The length of the g 阅读全文
posted @ 2017-08-15 17:42 英雄与侠义的化身 阅读(107) 评论(0) 推荐(0)

摘要: Given an array consisting of $n$ integers, find the contiguous subarray of given length $k$ that has the maximum average value. And you need to output 阅读全文
posted @ 2017-08-15 16:27 英雄与侠义的化身 阅读(89) 评论(0) 推荐(0)

摘要: 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-08-15 00:00 英雄与侠义的化身 阅读(110) 评论(0) 推荐(0)