Amazon Interview Question

Longest path between any two nodes of a binary tree

Interview Answer

Anonymous

Jun 10, 2012

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