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
@@ -48,13 +48,13 @@ To take course 1 you should have finished course 0, and to take course 0 you sho
Write your approach here.
** TODO Python
#+begin_src python
#+begin_src python :lc-problem 207 :lc-lang python3
class Solution:
def canFinish(self, numCourses: int, prerequisites: List[List[int]]) -> bool:
#+end_src
** TODO C++
#+begin_src cpp
#+begin_src cpp :lc-problem 207
class Solution {
public:
bool canFinish(int numCourses, vector<vector<int>>& prerequisites) {