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