摘要:
Given an unsorted integer array, find the smallest missing positive integer. Example 1: Input: [1,2,0] Output: 3 Example 2: Input: [3,4, 1,1] Output: 阅读全文
posted @ 2018-11-02 10:04
bernieloveslife
阅读(107)
评论(0)
推荐(0)
摘要:
Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where the candidate numb 阅读全文
posted @ 2018-11-02 10:04
bernieloveslife
阅读(104)
评论(0)
推荐(0)
摘要:
Determine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules: 1. Each row must contain the di 阅读全文
posted @ 2018-11-02 10:04
bernieloveslife
阅读(101)
评论(0)
推荐(0)
摘要:
Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value. Your algorithm's runtime com 阅读全文
posted @ 2018-11-02 10:04
bernieloveslife
阅读(107)
评论(0)
推荐(0)
摘要:
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 after raining. 阅读全文
posted @ 2018-11-02 10:03
bernieloveslife
阅读(126)
评论(0)
推荐(0)

浙公网安备 33010602011771号