Created
May 11, 2017 18:41
-
-
Save chriswebb09/e24ba18ff0af60b9187e881221b9f043 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 LLNode<T> { | |
var value: T | |
var next: LLNode? | |
weak var previous: LLNode? | |
init(value: T) { | |
self.value = value | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment