Skip to content

Instantly share code, notes, and snippets.

@Mintri1199
Created May 16, 2019 21:46
Show Gist options
  • Save Mintri1199/18cb55edd1f9fd5eaa58020b53fe405d to your computer and use it in GitHub Desktop.
Save Mintri1199/18cb55edd1f9fd5eaa58020b53fe405d to your computer and use it in GitHub Desktop.
basic decimal tree node
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