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 the test: 5 6 3 1 2 4 5 2 2 9 5 7 8 1 8 4 8 5 9 4 6 8 6 3 2 8 2 5 2 5 1 2 5 9 5 1 8 9 4 9 4 1 2 1 4 7 1 1 5 4 1 6 3 6 7 8 2 5 9 7 5 3 7 1 5 4 4 4 1 2 5 8 8 9 5 8 7 8 2 5 4
Expected: equal to 1245789
I get 123456789, why it is not correct?
The description is awful and have duplicates
One random test Random tests
expected 'Not Balanced' to equal 'Balanced' is not passing. Idk what to do. please someone look into my code.
Function signature in initial solution of Haskell should be:
extraPerfect :: Int -> [Int]
Whats the take on using Itertools in rust? it's not part of the rust native library, but a lot of solutions are implementing it to make their solutions more functional. Is it okay to use external crates or should we rely only on the native library?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This has a performance tag, but O(n^2) solutions pass in Python. Is that intended?
Duplicate of Simple Fun #144: Distinct Digit Year
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
In Java, the tests produce values that cannot fit in a long data type. Instead the test values are being truncated. Either (1) the tests should be limited to ensure that the output will not overflow or (2) the return type should be changed to something that can hold the output (e.g., String or BigInteger).
Java:
In some random test cases I got
expected:<[1]> but was:<[594906795799986358685640222425...
And 1 is impossible
But it still works like 3 out of 4 times so not a big issue ^^
Actual and expected are swapped in C#
Loading more items...