Lonely Integer

  • + 1 comment

    Hi

    I have got one invalid test case here where the array is 0 0 1 2 1 , so the unique element count should be 3 but its coming 2 as expected output ,causing my tests to fail , anybody faced this or correct me?