Created
April 5, 2020 04:44
-
-
Save tifoaudii/500d9feae5df9dd5cce7a45c4fe130f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Node<Value> { | |
var value: Value | |
var next: Node<Value>? | |
init(value: Value, next: Node<Value>? = nil ) { | |
self.value = value | |
self.next = next | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment