Reshape the Matrix 描述:In MATLAB, there is a very useful function called 'reshape', whic...

IP属地:北京
Reshape the Matrix 描述:In MATLAB, there is a very useful function called 'reshape', whic...
然后看了别人的方法,发现用数学方式求和作差最简单了==
[leetcode]268. Missing NumberMissing Number 描述:Given an array containing n distinct numbers taken from 0, 1, 2, ...,...
Array Partition I 描述:Given an array of 2n integers, your task is to group these integer...
Move Zeroes 描述:Given an array nums, write a function to move all 0's to the end of it w...
Missing Number 描述:Given an array containing n distinct numbers taken from 0, 1, 2, ...,...
1-bit and 2-bit Characters 描述:We have two special characters. The first character can b...
Two Sum 描述:Given an array of integers, return indices of the two numbers such that they...