Created
May 16, 2019 21:46
-
-
Save Mintri1199/18cb55edd1f9fd5eaa58020b53fe405d to your computer and use it in GitHub Desktop.
basic decimal tree node
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 DecimalTreeNode { | |
var data: Any? | |
var next: [DecimalTreeNode?] = [] | |
init(data: Any?) { | |
self.data = data | |
self.next = Array(repeating: nil, count: 10) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment