I mean all you need to solve it is very basic math and a bit of time figuring out the logic. It's not complicated if you think about it is what I'm saying.
I think it depends on the coding language. As far as I can tell python was pretty easy. C# was way to hard with its datatype iEnumerable. I wasn't able to solve it within 15 minutes even after googling after this datatype. Just an array of strings whould have been more apropriated for 8.Kyu
Look at all the people offended by themselves that they can't do basic math. Kata is great - shows that a seemingly difficult problem can be solved with a very simple solution.
Initially only got through ~95 random tests until server timed out.
Had to improve my loop to break when condition is met to make it more efficient, thus allowing all necessary random tests before server times out.
Great kata!
I mean all you need to solve it is very basic math and a bit of time figuring out the logic. It's not complicated if you think about it is what I'm saying.
This is not really "basic math", more a math joke.
I think it depends on the coding language. As far as I can tell python was pretty easy. C# was way to hard with its datatype iEnumerable. I wasn't able to solve it within 15 minutes even after googling after this datatype. Just an array of strings whould have been more apropriated for 8.Kyu
Look at all the people offended by themselves that they can't do basic math. Kata is great - shows that a seemingly difficult problem can be solved with a very simple solution.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Initially only got through ~95 random tests until server timed out.
Had to improve my loop to break when condition is met to make it more efficient, thus allowing all necessary random tests before server times out.
Great kata!
This comment is hidden because it contains spoiler information about the solution