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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
can you explain me that how did you come up with this? what's the thought process behind it?
A solution that needs space proportional to the input numbers' values won't be able to handle the random tests.
Lol :-) Yeah, feeling more confident but haven't solved this kata. Didn't try and looking at it now I still have no clue what to do. Should I import something? Should I download it from somewhere? Just rethorical questions :-) Not going to spend much time on it...
How is your progress? Are you feeling now more confident? 3 years have passed
Fix: https://www.codewars.com/kumite/67a748fc21023fa4a16bc44f?sel=67a748fc21023fa4a16bc44f
As I said, it looks like the indices are wrong.
The tests expect:
On the leaderboard I see:
... so I had to return
n-2
th warrior, 0-based, to complete this.I don't get it, I'm suring beauty soup, and always retrieve the wrong user
Enabled in this fork
Approved
You need to return the final value, not print it.
This comment is hidden because it contains spoiler information about the solution
python new test frameworks
Loading more items...