
leetcode-java
文章平均质量分 55
yuanwyue
脑子很混乱
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[Leetcode] 1130. Minimum Cost Tree From Leaf Values
1130 Minimum Cost Tree From Leaf Values 综合性比较高的一道题,记录一下,便于思考和回顾。 原题地址:Minimum Cost Tree From Leaf Values Given an array arr of positive integers, consider all binary trees such that: Each node has either 0 or 2 children; The values of arr correspond to t原创 2020-05-09 10:20:04 · 693 阅读 · 0 评论 -
LeetCode lengthOfLongestSubstring
题目:Given a string, find the length of the longest substring without repeating characters.Examples: Given “abcabcbb”, the answer is “abc”, which the length is 3. Given “bbbbb”, the answer is “b”, with t原创 2017-03-28 22:51:05 · 465 阅读 · 0 评论