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.
Maybe im dumb... but I pass more than 100 tests, but everytime I fail some randoms... like that
For example some random tests results... ->
Log
{
coordinates: [ 1, 1 ],
steps: 2
}
expected 10 to equal 9
or like that
Log
{
coordinates: [ 2, 2 ],
steps: 2
}
expected 5 to equal +0
And every try the same, ridiculus bad tests, or Im crazy or I dont know.
In that 2 examples. Doing as my self...
1 - Start in position 1,1 with 2 steps... 1 step going down, other going right -> 10 food... the test expect 9???
2 - Position 2,2...with 2 steps... 1 step going up, other left... nothing more... 5 food... the test expect 0???
I could show more and more random tests fail examples.
Maybe Im so tired and I understand nothing. If somebody could help or tell me what are failing? Or simply somebody could fix that? Ty
C#: method name should be
PascalCase
(Please refer to implementation of backward compatibility here )This comment is hidden because it contains spoiler information about the solution
Description should be language-agnostic
Description should be language-agnostic
Description should be lanugage-agnostic
CLang:
Could someone explain this? What I misunderstood?
Failed lastSurvivors("zxyphjtvyiikdo")
Actual characters: "zxyphjtvyjkdo"
Expected characters: "adhloptvx"
I can't seem to understand how 60 as input should return 60 ?
the solutions are :
1 minute 0 seconds => 10
and
0 minutes 60 seconds => 60
we have same consecutives and same length so it should return the first solution which is 10 right ?
please correct me if I'm wrong
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' ]
This comment is hidden because it contains spoiler information about the solution
Looks like a duplicate to me.
You sure? :P
You have a nice (elaborate) story, that's why it's even more important that you include a "Task" section with the exact requirements (without storyline), in a succinct style -> inputs, outputs.
What exacly is a group of letters? Should all elements form a vertical or horizontal line, or should all letters that form a group have at least one vertical or horizontal link to any adjacent letter?
A group of letters is defined as characters that are adjacent to each other either vertically or horizontally.
In example 2, expected value is
"bza"
, but all sort orders should be ascending. Number of arrows would indicate'a'
comes before"bz"
( points are equal ).Loading more items...