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
Done! Thanks for suggestion.
;-)
Thanks for pointing that out. I changed it. Is is okay now or is there still some error?
Range of floor wanted should be specified. Anything outside
1 - 20
would be nonsensical for the purpose of the calculation.Similarly, it should be specified that top floor rent is non-negative.
duplicate issue: see above
Random tests is testing user solution against itself, so it will always pass.
Your random tests aren't working
retired
for me it looks like duplicate of a lot of Fizz Buzz katas
This comment is hidden because it contains spoiler information about the solution
can someone explain what's happening in key and why is ord() - 96 there
Sure. Optimize it some more then. You only need basic optimizations to pass the kata. Code length has nothing to do with code's performance.
Your code being too slow is not a kata issue.
Feel free to explore https://docs.codewars.com/training/troubleshooting or ask for help on Discord server.
This comment is hidden because it contains spoiler information about the solution