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.
0 should always come after the stated limit (1 or 9, depedning on the sequence), even if the same limit is not part of the given integer. the descreption, here, is too literal, but this is the whole point.
are there sequentially increasing/decreasing integers with multiple zeros at their tails (e.g. 12300, 321000, ...)? or is this property only granted to integers that have a single zero at their ends? thanks.
a kata ment for absolute psychopaths.
guys, when you find yourself unable to optimize your greedy algorithm for longer than a week (no jk), as i did, just remember that www is your friend. every-single-one top programmer around this planet has resorted to it at least once in his life. besides, you cannot use something, unless you are aware of its existence. now, reset, your strategy. this exercise regards algorithmic optimization, and imo, is harder than 5 kyu. literally a Big-OH in one's neck. thank you for this. whoever you are.
imo this kata is at least 2 kyus harder than what it has been deemed to be. thanks for your time investment to provide this one for everyone, even though i first tried it three years after its issue.
i am raising an issue, as i have detected an anomally in the testing process. i have tried to solve every wrong case in spyder and my function returns the correct values. however the testing procedure of the kata prints back that they are wrong. the issue, more specifically, is that some of the times i get the correct answer, but + or - 5. thank you.
sorry for marking the comment as an "issue". i am new around here. thank you for your answer.
This comment is hidden because it contains spoiler information about the solution