Skip to content

Instantly share code, notes, and snippets.

@osori osori/
Created Dec 2, 2017

What would you like to do?
Trie Node implementation in Python
class Node(object):
A node that consists of a trie.
def __init__(self, key, data=None):
self.key = key = data
self.children = {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.