Topic: Graph Theory Problem / Level: intermediate

Problem: Implement an algorithm to find the longest path in a tree using dynamic programming.

Run the code to see the output here...