摘要: package LeetCode_525 /** * 525. Contiguous Array * https://leetcode.com/problems/contiguous-array/description/ * * Given a binary array, find the maxi 阅读全文
posted @ 2020-11-03 23:16 johnny_zhao 阅读(75) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_1358 /** * 1358. Number of Substrings Containing All Three Characters * https://leetcode.com/problems/number-of-substrings-containing 阅读全文
posted @ 2020-11-03 21:29 johnny_zhao 阅读(92) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_1392 /** * 1392. Longest Happy Prefix * https://leetcode.com/problems/longest-happy-prefix/ * * A string is called a happy prefix if 阅读全文
posted @ 2020-11-03 18:15 johnny_zhao 阅读(98) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_872 import java.util.* /** * 872. Leaf-Similar Trees * https://leetcode.com/problems/leaf-similar-trees/ * * Consider all the leaves 阅读全文
posted @ 2020-11-03 15:11 johnny_zhao 阅读(74) 评论(0) 推荐(0) 编辑