摘要:
package LeetCode_69 /** * 69. Sqrt(x) * https://leetcode.com/problems/sqrtx/description/ * * Implement int sqrt(int x). Compute and return the square 阅读全文
摘要:
package LeetCode_251 /** * 251. Flatten 2D Vector * (Prime) * Design and implement an iterator to flatten a 2d vector. It should support the following 阅读全文
摘要:
package LeetCode_766 /** * 766. Toeplitz Matrix * https://leetcode.com/problems/toeplitz-matrix/description/ * * A matrix is Toeplitz if every diagona 阅读全文
摘要:
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 阅读全文
摘要:
package LeetCode_1557 /** * 1557. Minimum Number of Vertices to Reach All Nodes * https://leetcode.com/problems/minimum-number-of-vertices-to-reach-al 阅读全文
摘要:
package LeetCode_310 import java.util.* import kotlin.collections.ArrayList /** * 310. Minimum Height Trees * https://leetcode.com/problems/minimum-he 阅读全文
摘要:
package LeetCode_84 import java.util.* /** * 84. Largest Rectangle in Histogram * https://leetcode.com/problems/largest-rectangle-in-histogram/descrip 阅读全文
摘要:
package LeetCode_84 /** * 84. Largest Rectangle in Histogram * https://leetcode.com/problems/largest-rectangle-in-histogram/description/ * * Given n n 阅读全文
摘要:
package LeetCode_73 /** * 73. Set Matrix Zeroes * https://leetcode.com/problems/set-matrix-zeroes/description/ * * Given a m x n matrix, if an element 阅读全文
摘要:
package LeetCode_452 /** * 452. Minimum Number of Arrows to Burst Balloons * https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons/ 阅读全文