Haskell
Haskell copied to clipboard
Simple tree functions
Added simple functions to binary tree structures:
- Find element's occurrence count
- Find if element present in tree
- Check whether tree is symmetric
- pre and postorder walk
- Sum of elements in tree
- Get leaf nodes in tree