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.
Try using single quotes rather than double quotes.
see, I don't know what exactly your problem is but if it is like EOL then remember, ALL YOU HAVE TO DO IS RETURN THE GIVEN INPUT or the input of the function not the input which will be supplied during the program.
I agree with you, the description does not describe correctly what users are supposed to do.
I think finding a working solution in the first place is way tougher than a 6 kyu problem. I'm solving 4kyu problems way easier than this one.
I think my problem is that I am finding every possible sum then searching for the lowest number not included in the sums. I need to reverse that order. Start counting at 1 and return false if you can't find a combination of numbers that add up to that number. Kind of fatigued from working on this problem for now though but I will definitely return to it.
Your solution is probably correct. The problem is due to the input being modified on the testing end. See my issue above
Not all of them were lists. Some of them were other types, which can not be modified
strange.. looks like the problem was with using the same list
some example
input:
[-12, 42]
test result"
[12, 54] should equal [12, 66]
did you get it? having same problem
Sorry about this, should be fixed now
Read Fchilling's post below, he asked the same question.
It's expecting string 'BruuJ', because in the matrix there is another row with letter 'K' in it. In order to continue decoding, it should go to the last row, but there's no letter at that index, so decoding must stop.
Sort the list first and look at it. You should see a way.
I just solved it in JS. My algorithm takes around 1000ms. I did not apply dynamic programming. I think if you know the answer, it real worth 6kyu or below.
You can post code here if you check the 'Mark as having spoiler content' box below when submitting your comment, and your comment wouldn't be visible to people who haven't solved the kata. The above comment said you couldn't post it on GitHub.
Loading more items...