随笔分类 - leetcode
leetcode examples
摘要:question: 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
阅读全文
摘要:Plus One question: Given a non-negative integer represented as a non-empty array of digits, plus one to the integer. You may assume the integer do not
阅读全文
摘要:question:Remove Duplicates from Sorted Array Given a sorted array nums, remove the duplicates in-place such that each element appear only once and ret
阅读全文

浙公网安备 33010602011771号