标签:LeetCode
Description Implement wildcard pattern matching with support for '?' and '*'. Example '?' Matches any single character. '*' Matches any sequence of ch
Description Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2. Note: The length of both num1 a
Description Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap af
Description Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to
Description Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate n
Description The count-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, ... 1 is read off as "one 1" or 11.
Description Write a program to solve a Sudoku puzzle by filling the empty cells. Empty cells are indicated by the character '.'. You may assume that t
Description Given an array of integers sorted in ascending order, find the starting and ending position of a given target value. Your algorithm's runt
Description Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement i
You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl
Given two binary strings, return their sum (also a binary string). The input strings are both non-empty and contains only characters 1 or 0. Example 1
Given a non-empty array of digits representing a non-negative integer, plus one to the integer. The digits are stored such that the most significant d
题目:Leetcode:9. Palindrome Number 描述: 内容:Determine whether an integer is a palindrome. Do this without extra space. Some hints: Could negative integer