上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 79 下一页
摘要: /** * 1143. Longest Common Subsequence * https://leetcode.com/problems/longest-common-subsequence/description/ * * Given two strings text1 and text2, 阅读全文
posted @ 2020-09-02 22:30 johnny_zhao 阅读(130) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_334 /** * 334. Increasing Triplet Subsequence * https://leetcode.com/problems/increasing-triplet-subsequence/description/ * * Given a 阅读全文
posted @ 2020-08-31 23:53 johnny_zhao 阅读(82) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_367 /** * 367. Valid Perfect Square * https://leetcode.com/problems/valid-perfect-square/description/ * * Given a positive integer nu 阅读全文
posted @ 2020-08-30 12:14 johnny_zhao 阅读(71) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_69 /** * 69. Sqrt(x) * https://leetcode.com/problems/sqrtx/description/ * * Implement int sqrt(int x). Compute and return the square 阅读全文
posted @ 2020-08-30 11:36 johnny_zhao 阅读(89) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_251 /** * 251. Flatten 2D Vector * (Prime) * Design and implement an iterator to flatten a 2d vector. It should support the following 阅读全文
posted @ 2020-08-27 00:34 johnny_zhao 阅读(93) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_766 /** * 766. Toeplitz Matrix * https://leetcode.com/problems/toeplitz-matrix/description/ * * A matrix is Toeplitz if every diagona 阅读全文
posted @ 2020-08-26 23:59 johnny_zhao 阅读(102) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_286 import java.util.* /** * 286. Walls and Gates * (Prime) * * You are given a m x n 2D grid initialized with these three possible v 阅读全文
posted @ 2020-08-24 13:05 johnny_zhao 阅读(183) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_1557 /** * 1557. Minimum Number of Vertices to Reach All Nodes * https://leetcode.com/problems/minimum-number-of-vertices-to-reach-al 阅读全文
posted @ 2020-08-23 15:50 johnny_zhao 阅读(222) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_310 import java.util.* import kotlin.collections.ArrayList /** * 310. Minimum Height Trees * https://leetcode.com/problems/minimum-he 阅读全文
posted @ 2020-08-23 15:10 johnny_zhao 阅读(80) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_84 import java.util.* /** * 84. Largest Rectangle in Histogram * https://leetcode.com/problems/largest-rectangle-in-histogram/descrip 阅读全文
posted @ 2020-08-23 11:07 johnny_zhao 阅读(115) 评论(0) 推荐(0) 编辑
上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 79 下一页