maxLevel : keeps track of maximum level seen so far . res : Value of deepest node so far . level : Level of root
static void find ( Node root , int level ) { if ( root != null ) { find ( root . left , ++ level ) ;