分类:算法
Given n non-negative integers representing an elevation […]
Given an unsorted integer array, find the smallest miss […]
Suppose an array sorted in ascending order is rotated a […]
Implement next permutation, which rearranges numbers in […]
Given a string s, find the longest palindromic subseque […]
Determine whether an integer is a palindrome. An intege […]
Write a function that takes an unsigned integer and ret […]
A robot is located at the top-left corner of a m x n gr […]
A robot is located at the top-left corner of a m x n gr […]
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 […]