List rooted trees
Bags are represented by Raku type Bag
.
Output:
The bag bag(bag(bag()), bag()(2))
coresponds with ((())()())
. There are two independent ways how we can get it by nesting 4 bags.
Last updated
Bags are represented by Raku type Bag
.
The bag bag(bag(bag()), bag()(2))
coresponds with ((())()())
. There are two independent ways how we can get it by nesting 4 bags.
Last updated