Sha256: c0c972dd403ff57547dc259532b2a995c2122b1451e2e6eb11f1fac8a81aed70
Contents?: true
Size: 402 Bytes
Versions: 134
Compression:
Stored size: 402 Bytes
Contents
## Hints You can think of this data structure as a [`Rose Tree`](https://en.wikipedia.org/wiki/Rose_tree). You are given a data type `'a tree` that represents this data structure. **Notes** - For this exercise `Empty` represents `null` - The nested list is represented by `List [...]`. - The input example is represented by `List [Elem 1, List [Elem 2, Elem 3, Empty, Elem 4], List [Empty], Elem 5]`
Version data entries
134 entries across 134 versions & 1 rubygems