FP Laboratory 11
Jump to navigation
Jump to search
Binary Trees
- Create a data type that defines binary tree where values are stored in leaves.
- Prepare an example of a binary tree.
- Create a function that counts the values stored in the leaves.
- Create a function that extracts all values from the leaves into na list.