题目
Given an unsorted integer array, find the smallest missing positive integer.
Example:
12Input: [7,8,9,11,12]Output: 1
Note: Your algorithm should
...
题目Implement atoi which converts a string to an integer.
The function first discards as many whitespace characters as necessary until the first non-whi
...
题目
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.
exam
...
题目Given an array of integers, return indices of the two numbers such that they add up to a specific target.
You may assume that each input would have
...