Longest path between any two nodes of a binary tree
Anonymous
Here is a recursive O(n) working code written in C..check out.. http://justprogrammng.blogspot.com/2012/06/longest-path-between-any-two-nodes-of.html
Check out your Company Bowl for anonymous work chats.