摘要:
/** * 1143. Longest Common Subsequence * https://leetcode.com/problems/longest-common-subsequence/description/ * * Given two strings text1 and text2, 阅读全文
摘要:
package LeetCode_334 /** * 334. Increasing Triplet Subsequence * https://leetcode.com/problems/increasing-triplet-subsequence/description/ * * Given a 阅读全文
摘要:
package LeetCode_367 /** * 367. Valid Perfect Square * https://leetcode.com/problems/valid-perfect-square/description/ * * Given a positive integer nu 阅读全文
摘要:
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 阅读全文