Skip to content

Commit 232e49e

Browse files
committed
move comments to top
1 parent b123b4d commit 232e49e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

course-schedule/hi-rachel.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
from typing import List
2-
from collections import defaultdict
3-
41
"""
2+
https://leetcode.com/problems/course-schedule/
3+
54
문제: 수강 해야 하는 모든 강좌의 수 numCourses가 주어질 때, 모든 강좌를 끝낼 수 있으면 true, 아니면 false를 반환해라.
65
prerequisites[i] = [ai, bi], bi를 수강하기 위해선 반드시 ai를 사전 수강해야만 한다.
76
@@ -27,6 +26,7 @@
2726
SC: O(V + E), 그래프 + 진입차수 배열
2827
"""
2928

29+
from typing import List
3030
from collections import defaultdict, deque
3131

3232
class Solution:

0 commit comments

Comments
 (0)