Ad
  • Default User Avatar

    I'm failing the random test cases and I can't figure out what the issue is. For example, on Input array: [27,13,12,29,53,41,24,20,19,40,44,31,5,36,25,50,15,22,30,26,17,21,11,32,38,43,46,34,18,14,39,35,3,51,33]
    I get the following failure message:
    Expected: '', instead got: '3, 5, 11-15, 17-22, 24-27, 29-36, 38-41, 43-44, 46, 50-51, 53'

    Why is it expecting an empty string? What am I missing?