Main function which calculates the depth of deepest odd level leaf . This function mainly uses depthOfOddLeafUtil ( )
def depthOfOddLeaf ( root ) : NEW_LINE INDENT level = 1 NEW_LINE depth = 0 NEW_LINE return depthOfOddLeafUtil ( root , level ) NEW_LINE DEDENT