99 Elm Problems/Problem 69

69.a) Write a function to convert a tree to a string where empty subtrees are represented by a dot. For example, the tree shown in problem P67 is represented as 'abd..e..c.fg...'.

69.b) Construct a tree from a dot notation string.

# # # THIS IS A STUB # # #

Example in Elm:

Result:

Solutions