News for hackers. Stuff that matters.
Re:Minimal examples of data structures and algorithms in Python by witten on Tuesday April 25, 2017 @12:27AM (#14190769)
Relevant to this discussion, and not included in the linked repo as far as I can see.. A one-line tree in Python:

def tree(): return defaultdict(tree)

More here: https://gist.github.com/hrldcpr/2012250

There are no comments on this comment yet.