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.
it should not have taken me this long to solve this kata... great kata as always
This comment is hidden because it contains spoiler information about the solution
why tf cant i import typing
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
its good practice because n.left or n.right could be falsy values
This comment is hidden because it contains spoiler information about the solution
please make a python translation, i need a dopamine boost when i break the kata (idk any hacky things about js)
This comment is hidden because it contains spoiler information about the solution
Try changing your approach. This greedy algorithm takes ~2^65 steps for "worst-case" 128-bit numbers.
vibe coding is bad
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
That unbounded generator (
primes_
) is far from perfect, believe me. It takes about 10 seconds on my machine to generate all primes up to a million.Loading more items...