Stop condition : odd case : left = right , even case : left . next = right
if ( left != right && left . next != right ) { Node temp = left . next ; left . next = right ; right . next = temp ; left = temp ; }