Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
1000 iq
Using lists in haskell caused timeouts for me.
ahh I see i misunderstood the assignments, apologies and thank you for clarification
Sorry no mix in the tests. The input is
Array((1, 2), (1, 3), (1, 4))
. you have to reduce at a common denominator and you returned "([1,2)(1,3)(1,4])" instead of "([6,12)(4,12)(3,12])".Hello everyone,
I believe the Scala version has the actual and expected cases mixed up. Can anyone confirm please?
Test message:
Test Failed
Expected "([6,12)(4,12)(3,12])", but got "([1,2)(1,3)(1,4])"
Very nice work, I really need to look further into those fold methods, the way xs get substitued without adding a new element spins my head around.