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.
How is this posible?
2634738023 Should be equal to 2634738024
2634738023 % 2 = 1
2634738024 % 2 = 0
Please help, i don't understand D:
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
PHP:
1 <= n <= 1e9
as stated in the description.description should be lanugage-agnostic
Ruby: should have sample and fixed tests where
x = 0
There should also be a fixed test for expecting line 1 because my first solution was bad but was able to pass all tests.
Needs node bump to v18
Java translation handles the
length
==0
case differently to other translations; it does not slice till the end of the array. This is inconsistent with the description:It took me a while to figure out why my solution (which did as the description asked) was failing random tests.
The expected complexity of the solution varies for Rust/C++ and other languages.
C++ Translation
"Initial size of snake would be always 3"
Random test -> size = 5
Can anybody tell me how can I solve this kata because I don't really undestand how should i know if array should be teste from the start or from the end..
Actual and expected are swapped in PHP
In PHP:
Loading more items...