Ad
  • Custom User Avatar

    I can't seem to understand how 60 as input should return 60 ?

    the solutions are :

    1 minute 0 seconds => 10

    and

    0 minutes 60 seconds => 60

    we have same consecutives and same length so it should return the first solution which is 10 right ?

    please correct me if I'm wrong