摘要:
A:Regular Expression Matching Hard A:Regular Expression Matching Hard Given an input string (s) and a pattern (p), implement regular expression matchi 阅读全文
posted @ 2019-05-05 22:46
wujunjie007
阅读(148)
评论(0)
推荐(0)
摘要:
A:Rotate Image Medium You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Note: You have to rotate the 阅读全文
posted @ 2019-05-05 22:45
wujunjie007
阅读(137)
评论(0)
推荐(0)
摘要:
A: Unique Paths II Medium A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move eit 阅读全文
posted @ 2019-05-05 22:44
wujunjie007
阅读(116)
评论(0)
推荐(0)
摘要:
A:Merge Intervals Medium Given a collection of intervals, merge all overlapping intervals. 解析:对给定的一个对象集合进行处理,将对象集合中存在交集的对象进行合并,行成一个新的集合 思路:优先将对象集合进行处理 阅读全文
posted @ 2019-05-05 22:44
wujunjie007
阅读(111)
评论(0)
推荐(0)
摘要:
A: Subsets 题目:Given a set of distinct integers, nums, return all possible subsets (the power set). Note: The solution set must not contain duplicate s 阅读全文
posted @ 2019-05-05 22:43
wujunjie007
阅读(171)
评论(0)
推荐(0)
摘要:
A: Best Time to Buy and Sell Stock 题目:Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitt 阅读全文
posted @ 2019-05-05 22:41
wujunjie007
阅读(93)
评论(0)
推荐(0)

浙公网安备 33010602011771号