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.
Ohhh makes sense, yea I completely forgot this website is that old.
Dyslexia simulator
Yes, it is overranked, but it's because it's very old (from 2013). However, it definitely isn't 8kyu. Re-ranking it at this point would be too costly (would require loads of recalculations), so for now... just take the free points and move on :P
Why is this a 5 kyu instead of an 8 or 7 kyu?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Good for beginners
Definitely 8kyu
Switch to C :D
(/s)
If you're asking this question, you probably have issues with the larger numbers in the submission tests.
Without seeing your code, it's impossible to know.
If you're timing out, it's hard to say whether your approach needs a simple tweak or a complete overhaul.
Quick -- pretend like you're the computer running your algorithm and answer the following:
What's the next smaller number from 90000001 with the same digits?
Do you sense that you're doing unncessary work? Is there a simplification you can do?
If that's no problem,try the same with the following: 912345678?
If these are hard for you to attempt doing by hand using the algorithm you coded -- you should rethink your algorithm.
If that's too much you might try a similar experiment in a debugger, stepping line-by-line and noting where your code is spending its time. Is there any unnecessary/pointless work being done?
If that doesn't help, read the troubleshooting guide available in the codewars docs.
Good luck! IMO it's the challenge of this exercise that makes it worth figuring out.
How close am I to optimizing it enough? 64ms on basic tests, 60ms on short tests, 10 lines.
I had just made a discord bot for this a month or two prior to me seeing this kata that is funny that I just now stumble upon this kata.
Only 12 others have finished this in BF???????
The description does the kata for you.
I wouldn't use
Issue
for a typo, but... fixed. Remember to mention which language you're talking about next time, please.Loading more items...