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.
yeah, didn't think of it. thanks for pointing out.
I optimised from passing 30 test cases to 200 test cases in python and am now running out of ideas for optimization. Is it supposed to be more optimised or is the random test case is in infinite loop causing timeout?
thanks! fixed it
python tests are incorrect. when i copy the test input to my local machine the output gives expected result but copying the same code here shows wrong output. eg: "I+UG +<Twqh\tumNVfY/RbCIO[FsLVFZpx=jD" shoutld return False and it does on local machine but on codewars it shows True should equal to False.
This comment is hidden because it contains spoiler information about the solution
Testing .page_count() method
Test Passed
page_item_count is returning incorrect value.: 4 should equal 10
Test Passed
page_item_count is returning incorrect value: 4 should equal -1