月份:2018年5月
Given a linked list, rotate the list to the right by k […]
给定一个数组,此数组是由数组进行循环移位后得到的,判断目标数字是否在循环数组中。例如:给定A=[6,7,8,1 […]
做完LeetCode 189. Rotate Array之后 想起了编程之美上也有一个类似的题目,拿过来一块重 […]
Given an array, rotate the array to the right by k step […]
Given a positive integer n, generate a square matrix fi […]
Given a set of non-overlapping intervals, insert a new […]
Given a collection of intervals, merge all overlapping […]
Given an array of non-negative integers, you are initia […]
Given an array of non-negative integers, you are initia […]
Given an integer array nums, find the contiguous subarr […]
Given an array of strings, group anagrams together. Exa […]
Given a collection of numbers that might contain duplic […]