Question: 1. Write a Haskell function height BTree a -> Int such that height t calculates the height of tree t. For an empty tree, return

1. Write a Haskell function height BTree a -> Int such that height t calculates the height of tree t. For an empty tree, return -1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
