上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 79 下一页
摘要: 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 阅读(88) 评论(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 阅读(91) 评论(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 阅读(101) 评论(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 阅读(182) 评论(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 阅读(220) 评论(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 阅读(79) 评论(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 阅读(113) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_84 /** * 84. Largest Rectangle in Histogram * https://leetcode.com/problems/largest-rectangle-in-histogram/description/ * * Given n n 阅读全文
posted @ 2020-08-23 10:54 johnny_zhao 阅读(92) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_73 /** * 73. Set Matrix Zeroes * https://leetcode.com/problems/set-matrix-zeroes/description/ * * Given a m x n matrix, if an element 阅读全文
posted @ 2020-08-22 23:56 johnny_zhao 阅读(72) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_452 /** * 452. Minimum Number of Arrows to Burst Balloons * https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons/ 阅读全文
posted @ 2020-08-21 11:20 johnny_zhao 阅读(63) 评论(0) 推荐(0) 编辑
上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 79 下一页