Skip to content

Commit

Permalink
feat: merge two lists with iterative
Browse files Browse the repository at this point in the history
  • Loading branch information
rldnrl committed Aug 21, 2023
1 parent 898af26 commit c764563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/leetcode/kotlin/ReverseLinkedList.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package leetcode.kotlin

class ListNode(val value: Int) {
class ListNode(val value: Int = 0) {
var next: ListNode? = null
}

Expand Down

0 comments on commit c764563

Please sign in to comment.