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.
very much agree!!
And TDD is NOT AN INTRODUCTORY LEVEL CONCEPT. Its what you use after you have a grasp of all the basics. The kata is utterly innapropriate for 8kyu. So yes the argument can easily be made that its good to encourage TDD and showcase reasons its a good practice. That same argument makes this 6kyu and not 8
Using TDD (coding best practice) would lead you to the answer almost straight away. What other kata promotes test driven development so effectively?
This comment is hidden because it contains spoiler information about the solution
No. If you think it needs marked as spoiler then fine. But that solution is completely valid and is at least using ACTUAL PROGRAMMING SKILLS even if it avoid the intention of a kata. Reading through the loaded javascript on the webpage to understand limitations requires a non trivial amount of knowledge. Probably an amount that would deserve a 3kyu rating maybe?
THIS kata is still trash at an 8kyu rating.
Please, don't post cheating code like that, you could be banned for that. I've marked your post as having spoiler content, please edit your post and delete that. Cheating and using a smarter/shorter solution are two different things.
This comment is hidden because it contains spoiler information about the solution
No 5 or 6 kyu kata has a trivial solution like this kata. About demoralizing coders, do you have some statistic about that or is that your opinion? It is a puzzle, not a fundamentals kata, nobody forces you to solve it. Read the post of dbooyah93 below, he is in the 8 kyu range and even if I don't know if he's a beginner or not, I don't think he was demoralized.
If you want to solve it with code instead of math then it would be a 6kyu equivalent problem. The description (that you quoted) clearly says that is not the expected solution. So either rate it at 5-6kyu for its knowledge requirements or get rid of it.
Putting it at 8kyu serves no purpose other than to demoralize ACTUAL coding beginners. That makes this trash
From the kata description:
Can't you write your solution using code? Go to Solutions and see how many different solutions there are.
No you dont because there are TONS of patterns in the given dataset. No one of the patterns has a reason to stand out any more than the others. This kata is just trash. The fact it uses a MATH (not coding) trick that is very popular with lots of parlor tricks is beside the point. Many people will know the trick. But people who didnt will learn nothing about CODING by doing this
This comment is hidden because it contains spoiler information about the solution
This kata is complete trash and has no business existing on this site since its solution has nothing to do with coding.
Any coding skill you could have possibly practiced while doing this kata, you could have improved on doing a kata that was appropriate.
This is complete trash as a kata. It has nothing to do with introductory javascript (which is what anything 8kyu should be) and it doesnt even have to do with logical thinking as 8kyu is targetted to the people who dont know what is possible.
This is just random and thus pointless.