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.
A couple optimizations are warranted:
(repeatedly len #(rand-nth "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz")
, or something similar withrand-nth
Best performance
Please use spoiler flag next time. Your post was visible in the homepage discourse.
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 issue is fixed
duplicate issue
Can someone explain how
"11111" expects [0] = "Pinkie", [1] = "Ring", [2] = "Middle", [3] = "Index", [4] = "Thumb"
but
"11101" expects "Index" to be returned ??
This is in C# random tests.
How does one come up with this?
Same with all katas by g964, they are math puzzles. Not coding puzzles.
Be nice if we could just block all katas by certain users.
If I'm understand the random test output correctly for golang, I'm seeing random tests like this:
which expects the answer to be false.
Similar:
Where
118
isv
and120
isx
The test is expecting this as false...
Random tests are even failing on some 3x3s, but I've added every combo of <>^v and x possible in a 3x3 grid, with correct expected results in a 3x3 grid to the sample tests and they all pass.
Yeah, I have not got a clue from the description what I've actually to do.
It badly needs a decent worked example.
I thought I understood it until this line:
What is this saying ?
This working fine! An improvement could be to put the mathematical operation out of the loop so that it is not called in each iteration, and avoiding redundant calculation.
bro u genius
Loading more items...