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
I see the similar question below, but don't see the solution.
Please tell me why my result is wrong?
for vKnightLeft = 1, vKnightRight = 1 and field:
["$->11111","11111<-P"]
: expected [ '1$->1111', '1111<-P1' ] to deeply equal [ '11$->111', '111<-P11' ]
JS
Could someone explain why it is correct order?
1:gg/2:ee/2:ff/2:ii/2:oo/2:rr/2:ss/2:tt
I use codePointAt
'g' is 103,
'e' is 101,
'i' is 105,
'o' is 111,
could someone explain why it is worng
initial string is "abcoabc"
expected [ 'abc', 2 ] to deeply equal [ 'abcoabc', 1 ]
Thanks
i have a lot of failed tests (Javascript)
for example:
initial data: [ [ 69, 130 ], [ 87, 1310 ], [ 3, 4 ] ]
Expected: '[9177, 6812]', instead got: '[45885, 34060]'
maybe i have some missunderstanding, but it is wrong 6812 / 130 === 52.4
Could someone explain it?