摘要:
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_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 阅读全文