- 博客(4)
- 收藏
- 关注
原创 leetcode algorithm 797. All Paths From Source to Target
文章目录问题描述理解代码 问题描述 Given a directed, acyclic graph of N nodes. Find all possible paths from node 0 to node N-1, and return them in any order. The graph is given as follows: the nodes are 0, 1, …, gra...
2018-12-28 16:01:02
120
原创 leetcode algorithm 890. Find and Replace Pattern
文章目录问题描述理解代码反思一下。 问题描述 You have a list of words and a pattern, and you want to know which words in words matches the pattern. A word matches the pattern if there exists a permutation of letters p so t...
2018-12-24 20:52:08
133
原创 leetcode algorithm 929. Unique Email Addresses
文章目录问题描述理解代码改进代(da)码(an) 问题描述 Every email consists of a local name and a domain name, separated by the @ sign. For example, in alice@leetcode.com, alice is the local name, and leetcode.com is the doma...
2018-12-14 15:32:46
159
原创 leetcode algorithm 807. Max Increase to Keep City Skyline
问题描述 In a 2 dimensional array grid, each value grid[i][j] represents the height of a building located there. We are allowed to increase the height of any number of buildings, by any amount (the amount...
2018-12-13 22:11:52
124
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人