function to find the level having Maximum number of Nodes
def maxNodeLevel ( root ) : NEW_LINE INDENT if ( root == None ) : NEW_LINE INDENT return - 1 NEW_LINE DEDENT q = Queue ( ) NEW_LINE q . put ( root ) NEW_LINE DEDENT