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.
I don't understand the hate. It's a pretty good example for beginners that unicode can sometimes works unexpectedly :)
JavaScript sample tests throw an error while running. It looks like
Test
was not importedI had the same issue while reading at first
This comment is hidden because it contains spoiler information about the solution
First I wanted to create a line for each two points and check with every other point is closer to the center but it turned out to be too slow for tests with 1000 poins.
I added a quad tree and it worked :)
I think
|0
is shorter and less confusing for flooring than>>0
This doesn't work for all cases, but I was lucky and didn't get any
???aA
kind of testI tried to approve but I'm getting
Description cannot be approved, recent changes from related record must be merged first.
Big brain move
Make sure you use
u64
I took me a few hours to understand that this really is a 7kyu problem.
The solution is actually pretty easy :)
Newbie question. Why
&game
and not justgame
. Is it used to get the reference instead of cloning the integer?Great solution
list = [*string] is the same as list = list(string)
This comment is hidden because it contains spoiler information about the solution
Loading more items...