Posts

2024

Leetcode 44 Sharing

1 minute read

Problem Please refer to to LeetCode Problem 44. Wildcard Matching. Solution 1: Double DP def isMatch(self, s: str, p: str) -> bool: m, n = len(s), ...

Leetcode 1851 Sharing

5 minute read

Problem Please refer to to LeetCode Problem 1851. Minimum Interval to Include Each Query. Solution 1: Naive Method (OT) def minInterval(self, intervals: L...

Back to top ↑