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.
For a bit more clarity, redux means
This comment is hidden because it contains spoiler information about the solution
Thanks!
R
Even though 3 comes after the frist 5, 7 comes before the 2nd 5. Hence, 3,7 as a pair comes earlier.
Two of the excruciatingly long tests seem to be broken. Debug code:
puts "Initial ints length is: #{ints.length}"
if ints.length < 10
puts ints
end
shows that the "Two Million Numbers With Pair At End: Should terminate with a valid pair output" and "Two Million Numbers With Pair At Start: Should terminate with a valid pair output" tests are only passing in 2 and 1 element arrays respectively, but are expecting a match (that isn't present in the arrays).
Hi all,
I have problem with a particular test case. I can read in it : "First Match From Left REDUX!:"
The first useful output is [5,5] but the solution wants [3,7]. Could be for the "REDUX" stuff?
What does it mean?
Thank you!
Am I not allowed to use #sort? I got back this message error, test cases were ok!
group_and_count': undefined method
sort' for nil:NilClass (NoMethodError)from `
'
Thanks
Rodolfo
I have the same problem too. Just one thing, where did you take this? I mean, where is the set of test cases?
I am not able to find it.
I have a solution but I do not know why is not working. I can even share my solution without any problems but probably you won't be able to see it, assuming that you are still on this kata.
Thanks!
Rodolfo
Resolved!
Please, help me!
Thank you!
Rodolfo
This comment is hidden because it contains spoiler information about the solution