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'm not sure I understand your question @AbdulSalphan but there are 2 things for you to consider:
the "maximum number value for n" in the random testcases - this is something like 10,000-20,000 depending on language (15,000 for Python)
the number/amount of random tests performed - again, with Python this is currently = 110
So even if your solution is taking, say, 1 second for a single instance of a test with
n = 20,000
, you need to understand that may you have to multiply that number by, at worst,110
to get the approximate total test run-time, since that is how many random tests will be performed.But, my code executes fast for upto n = 20000. The number of tests are adding to the time?
They don't get executed concurrently?
in php: 100 random tests up to 10000
Does anyone know whats the maximum number value for n in the random testcases? My code works on time for atleast upto n = 20000.
I'm doing this with PHP. Everything fell into places except that my null and boolean values are considered zeroes. Probably a datatype error from my side. Any reference from where I can learn to solve this?
Did you use 'return' in the code?
I'm getting the same issue in PHP. What's the solution for the missing datatypes?
It has to be consecutive strings.