題目 Given an array of integers, return indices of the two numbers such that they...
題目 A dieter consumes calories[i] calories on the i-th day. For every consecutiv...
題目 Given an input string (s) and a pattern (p), implement regular expression mat...
題目 Given an integer array nums, find the contiguous subarray (containing at leas...
題目 Given a non-empty array of digits representing a non-negative integer, plus o...
Given n non-negative integers a1, a2, ..., an , where each represents a point at...
A bus has n stops numbered from 0 to n - 1 that form a circle. We know the dista...
Given a non-empty array of integers, every element appears twice except for one....
Given a non-empty array of integers, every element appears twice except for one....
Given a set of distinct integers, nums, return all possible subsets (the power s...