Skip to content

Commit a7a5c52

Browse files
authored
Update 0133-clone-graph.kt
1 parent ed59539 commit a7a5c52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kotlin/0133-clone-graph.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Solution {
1818
}
1919

2020
//dfs with queue
21-
class Solution2 {
21+
class SolutionDFS {
2222
fun cloneGraph(node: Node?): Node? {
2323
if(node == null)
2424
return null
@@ -42,7 +42,7 @@ class Solution2 {
4242
}
4343

4444
//bfs with queue
45-
class Solution3 {
45+
class SolutionBFS {
4646
fun cloneGraph(node: Node?): Node? {
4747
if(node == null)
4848
return null

0 commit comments

Comments
 (0)