Skip to content

Commit 64594b5

Browse files
authored
Fix Kotlin template
1 parent e08f266 commit 64594b5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

kotlin/sprint2/B/Solution.kt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// <template>
2-
class Node<V>(var value: V, var next: Node<V>?) {}
2+
class Node<V>(
3+
var value: V,
4+
var next: Node<V>? = null,
5+
) {}
36
// <template>
47

58
fun solution(head: Node<String>?) {
@@ -20,4 +23,4 @@ fun test() {
2023
node2
2124
node3
2225
*/
23-
}
26+
}

0 commit comments

Comments
 (0)