Horse racing duals - output bizarre

Y a un truc que je pige pas, les output attendus ne sont même pas corrects…
Pour la liste [10, 5, 15, 17, 3, 8, 11, 28, 6, 55, 7] l’output attendus est 1, ça devrait être 55 - 28 = 27 non???

Which puzzle?

Horse racing duals ^^
I thought I was posting under the good topic, I think I don’t really understand how it’s works…

The expected output is the smallest interval between ANY two values in the list. There are two numbers in that list with a difference between them of 1.

1 Like

oooooh I see now, thanks! I thought it was the difference between the two highest numbers…