Description Submission
53. Maximum Subarray
Description Submission If we find the currSum is smaller than 0, we should restart the summing.
48. Rotate Image
Description Submission Rotating 90 degrees clockwise is the same as transposing then matrix and then reversing each row.
47. Permutations II
Description Submission After sorting the nums, we only need to make sure that the same value is not used in the same place and the […]
46. Permutations
Description Submission Another Submission The new hand is not necessary, using pop_back() method of vector.