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 see. Thanks! It was easier than expected))
In Java, there is 1000 tests with
2_000_000 <= n <= MAX_INT
. How much time does such set of inputs runs on your local IDE?Java. Same problem. Works fine in IntelliJ even with large numbers from tests such as (2007009836, 2075337295 etc) but times out when attempting on the site. Tried two solutions: for (was very fast in IntelliJ) and streams(was significantly slower compared to "for")
Not a kata issue, your code is not fast enough with large inputs, which values are you using in your IDE?