分类:LeetCode
Given an array and a value, remove all instances of tha […]
You are given an n x n 2D matrix representing an image. […]
There are N gas stations along a circular route, where […]
Given a sorted array, remove the duplicates in-place su […]
Write a function to find the longest common prefix stri […]
Given an unsorted array of integers, find the length of […]
Given an array of integers, every element appears three […]
Given an array of integers, every element appears twice […]
Given a string s consists of upper/lower-case alphabets […]
Implement int sqrt(int x). Compute and return the squar […]
Implement pow(x, n). Example 1: Input: 2.00000, 10 Outp […]
Implement strStr(). Returns the index of the first occu […]
Implement atoi to convert a string to an integer. Hint: […]
Reverse digits of an integer. Example1: x = 123, return […]
Given an array S of n integers, are there elements a, b […]