Hacker News new | ask | show | jobs
by mathisfun123 80 days ago
> unary

wtf is a unary tree? isn't that a list?

1 comments

Unary tree is a skewed binary tree

It’s like a line with knots ;-)

By itself a unary tree can encode a single number - you just count the knots