Horse Racing Duals puzzle discussion in scala


I am doing some entertainment in Scala.
Here is my code and the third test fails because my code is too slow. Can someone help me ?


Code deleted by a moderator.

Hey !
Please don’t create new subject when there is already one. And avoid to share complete code, try to ask precise questions illustrated with excerpts if required.
Retry here :

1 Like