LeetCode-Class-Kotlin LeetCode Class for kotlin ListNode Initialize from Collection's List val listNode = ListNode.from(listOf(1, 2, 3)) Display println(listNode) // 1 -> 2 -> 3 -> 4 -> 5 ListNode conversion to Collection's List val list = listNode.toList() // [1, 2, 3, 4, 5]