If the set number of both nodes is same , path length is odd else even
if ( setNum [ A ] == setNum [ B ] ) : NEW_LINE INDENT print ( " Odd " ) ; NEW_LINE DEDENT else : NEW_LINE INDENT print ( " Even " ) ; NEW_LINE DEDENT