if value is negative or greater than array size , then it cannot be marked in array . So move to next element .
if ( arr [ i ] <= 0 or arr [ i ] > n ) : NEW_LINE INDENT continue NEW_LINE DEDENT val = arr [ i ] NEW_LINE