This problem requires the inorder traversal of the tree and then subsequently converting the nodes to lists. Below is the code for this problem:
[gist https://gist.github.com/niviusha/5993176]This problem requires the inorder traversal of the tree and then subsequently converting the nodes to lists. Below is the code for this problem:
[gist https://gist.github.com/niviusha/5993176]