Kotlin Tidbit: Loops and Recursion
Given a LinkedList data structure that is defined as:
data class LinkedList<T>(val value: T, val next: LinkedList<T>? = null)
Each LinkedList entry is a node of the current value and a reference to next which points to another LinkedList with the re...
blog.phaizel.com2 min read