摘要:
[抄题]: 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 阅读全文
posted @ 2018-04-18 22:33
苗妙苗
阅读(257)
评论(0)
推荐(0)
摘要:
[抄题]: Given a non-empty array of non-negative integers nums, the degree of this array is defined as the maximum frequency of any one of its elements. 阅读全文
posted @ 2018-04-18 16:28
苗妙苗
阅读(176)
评论(0)
推荐(0)
摘要:
[抄题]: We have two special characters. The first character can be represented by one bit 0. The second character can be represented by two bits (10 or 阅读全文
posted @ 2018-04-18 15:21
苗妙苗
阅读(146)
评论(0)
推荐(0)
摘要:
[抄题]: Rotate an array of n elements to the right by k steps. For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2,3,4 阅读全文
posted @ 2018-04-18 10:38
苗妙苗
阅读(112)
评论(0)
推荐(0)