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.
well people do way better than me but appreciate it
I had this happen using Java, creating a new int array instead of rewriting the data into the input array fixed it.
I feel like this is properly ranked, I will give you that it is a longer than a normal 7kyu but it's mainly manuipluating a string.
Yeah!! I ran into a similar issue of missing a key piece of information and started working things out by hand before I went back re-read the instruction.
I would say re-read the instructions, there is a key peice of information you are missing :). In the instructions is read the limits on what m can be; m has to be greater than n
edit: I added more info because it was in the instructions I decided it wasn't a spoiler.
It helps if I read the whole description "finds the first pair". Very good Kata!!!
I really enjoyed this Kata, it made me remember some formulas I haven't used in a long time!!
Yes, you are correct. I was going to put an extra check for that specific case but it ended up not being needed with the test given. I was trying to keep my solution as short as possible.
Print out the results and think about why you are getting that number!
This was a really good Kata, it took about 3 pages of scratch paper to figure out how I wanted to do this!!
I just wanted to say I really enjoyed this Kata! Very well put together!