I've tried both solutions on the same dataset as here, then added some random generated data also. And at the average my solution is faster (at least on my machine & my test method). But anyway due to Python3 is an interpreted language it will be slow always.
P.s. your solution has better performance than mine also, good job!
This is really cool,but I'll learn it later when I become an expert!
This comment is hidden because it contains spoiler information about the solution
perfect!
i have no idiea ,absolute code
i had the methods but didnt know how to get the right map. great work !
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I've tried both solutions on the same dataset as here, then added some random generated data also. And at the average my solution is faster (at least on my machine & my test method). But anyway due to Python3 is an interpreted language it will be slow always.
P.s. your solution has better performance than mine also, good job!
Its funny that you consider performant code the most important factor while complaining about a more performant solution than your own.
This comment is hidden because it contains spoiler information about the solution
How is this working for every space when it is not replaceAll()
yes! they are so difficult to understand for beginners
yoo so did i
Great! solution!
I can´t beleave this kata has this short solution. You are awesome.
Loading more items...