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.
Yea, Its alot harder kata than 7
Interesting Kata, thanks.
Easy and fun!
This seems super complicated for 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
13 is a single integer, you don't need to return a number with a single digit.
Sorry. I should have written "the test result should be 1 not 13"
the description says:
"Numbers with no identical numbers preceding or following it returns a 1"
Therefore I would expect 13 gets reduced to 1.
I suppose, the following reduction is correct?
[0, 1, 1] -> [1, 2] -> [1, 1] -> [2] -> 2
Don't you agree?
No,
13
is correct. Not a kata issue. See https://docs.codewars.com/training/troubleshooting/#post-discourse.This comment is hidden because it contains spoiler information about the solution
A very poor report.
Why? as far as I see, the expected answer for this test is indeed 13?
the test result should be 2 not 13:
input: [1, 7, 0, 6, 1, 9, 0, 7, 1, 6, 0, 9, 0],
output: 13,
That test-case where 13 is a "Balanced" number should be better explained and an example with a 2-digit number added to description imo.
I notice a pattern on here where a lot of beginner katas (7kyu etc) are becoming near-untouchable for someone actually at that level, people complain about it, only to be countered by a bunch of 1 Kyu & 1 Dan folks with "it's actually correct to be 7kyu because... ==> <proceeds to list a bunch of concepts that are a solid 8-12 months away for someone who's actually 7 kyu>."
Even the author of this kata (see below) has estimated it to be at 4 Kyu FFS.
Loading more items...