99 Elm Problems/Problem 61

61.a) Count the leaves of a binary tree.

61.b) Collect the leaves of a binary tree in a list.

# # # THIS IS A STUB # # #

Example in Elm:

Result:

Solutions