It's really interesting to design & implement the commonly used data structures like LinkedList, BinaryTree etc., in functional style. The following link will take you to my own repository in GitHub. The comment section of each method clearly explains what the piece of code is doing..
Take a look at,
https://github.com/sprakasam/scala-coding-fun/tree/master/complex-data-structures
No comments:
Post a Comment