Open kunacanonical opened 4 years ago
I think the implementation forget to remove duplicates.
consider following test cases:
your output is 5, 13, 4 for these cases
I think the implementation forget to remove duplicates.
consider following test cases:
your output is 5, 13, 4 for these cases