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.
Marking as resolved if no further issues
|n| means the length of n as a binary string is less than or equal to 10^5. This doesnt guarentee that it can be expressee as an integer in Python
Is it fine now? The first thing
$1 \leq |n| \leq 10^5$
looks to be right.Oops, done.
Thanks
Hm.... How so, because
$2 \cdot 10^5$
for 15 tests requires performance right. My solution has 26 NlogN operations. When I made it 15 tests of length 1 million, mine took ~7 seconds and yours took 12 probably because of recursion, but the time complexity is pretty similar.Done
Oops
Done
Hi, what do you think about the suggestion that the input should be an integer rather than binary string?
Binary strings are more suitable for the problem, but I'm open for this suggestion if more people think so.
Changed both description, fixed tests, and random tests.
Please reset the problem (updated test cases).
Loading more items...