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.
This comment is hidden because it contains spoiler information about the solution
Is there a way to solve this without coercion? I.e. what if the tests used strict equality
===
?Got it to work after I deleted a debugging line
p sequence_array
I ran the examples successfully, but when I submit I get this error (using Ruby):
TypeError: buffer.stdout.push is not a function
at Socket. (/runner/lib/shovel.js:164:27)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at Pipe.onread (net.js:543:20)
Integer division for 11/10.
This comment is hidden because it contains spoiler information about the solution