摘要: https://leetcode.com/problems/combination-sum/ Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find a 阅读全文
posted @ 2019-07-18 19:54 bossman 阅读(189) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/ Given a binary tree, find the lowest common ancestor (LCA) of two given nodes i 阅读全文
posted @ 2019-07-18 18:04 bossman 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: No 阅读全文
posted @ 2019-07-18 14:03 bossman 阅读(181) 评论(0) 推荐(0) 编辑