Java implementation to find the maximum weighted edge in the simple path between two nodes in N - ary Tree
import java . util . * ; import java . awt . Point ; public class Main { static int N = 100005 ;