This commit is contained in:
2026-06-05 22:32:49 +08:00
parent 14d05011d5
commit c67841fe07
202 changed files with 498 additions and 403 deletions
@@ -49,13 +49,13 @@ Explanation: Because the new interval [4,8] overlaps with [3,5],[6,7],[8,10].
Write your approach here.
** TODO Python
#+begin_src python
#+begin_src python :lc-problem 57 :lc-lang python3
class Solution:
def insert(self, intervals: List[List[int]], newInterval: List[int]) -> List[List[int]]:
#+end_src
** TODO C++
#+begin_src cpp
#+begin_src cpp :lc-problem 57
class Solution {
public:
vector<vector<int>> insert(vector<vector<int>>& intervals, vector<int>& newInterval) {