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.
The test cases for C++ should be more extensive. They don't cover many cases which will only show up for the randomized tests. Otherwise, great Kata!
This comment is hidden because it contains spoiler information about the solution
Lua translation !
C++ fork with some minor improvements:
Please, review and approve/reject
C:
const
-qualifiedfixed here
RISC-V Translation
For the inclusiveness and self-awareness (and professionalism), this kata should specify that the phone number format being used is the North American Numbering Plan https://en.wikipedia.org/wiki/North_American_Numbering_Plan
Description should be language-agnostic
JS:
fork
It should be more clear that the interval [x, y] includes x, but not y. If you think of the problem in terms of sets, the set of the interval [x, y] = {x, x + 1, x + 2, ... , y - 2, y - 1}. Please correct me if I'm wrong.
This comment is hidden because it contains spoiler information about the solution
I feel like the overlap vs adjacent numbers should be explained better. It took me a minute to realize something like (1,4) and (5,7) doesn't become (1,7). I know it's small but it's still a little annoying not having it explicitly spelled out.
RISC-V Translation
i wrote the function and it works but it doesn't return the right answer in large random numbers i used someone else answer in another site and still the same problem it works with normal numbers but when it gets big numbers it doesn't work is it my problem or this one is broken too ?
Python:
random tests do no guarantee to generate all radii being
< 5
Loading more items...