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.
I'm failing test 38 too but how do i even see what test 38 is?!!
this will show error in some tests
It's been a while but all the words are split, so you'd need to do it for every word separately.
This comment is hidden because it contains spoiler information about the 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
That's what the 'if s' conditional determines, as an empty string '' s evaluates to not s
just a mistake, it shouldn't be there (surely a left over of a previous idea while coding)
This comment is hidden because it contains spoiler information about the solution
Alright i figured it out. Thanks for the help. Now i am just way too slow, so i hope i can shave down my time.
This comment is hidden because it contains spoiler information about the solution
You mentioned fixed test #38. If, for example, there was an error with a
populate
method that preceded test #38, then those blobs wouldn't be added to the population. But as I said, I've only taken a cursory glance so this might not be the cause of what you're encountering.I'll look into that. But shouldn't the test then expect an error instead of a result?
I've only taken a cursory glance, but it may have to do with invalid inputs:
Fixed test 38 i get Error Detected: Expected - [[10, 7, 570]], but instead got [[12, 7, 582]], which i don't understand because when i print the board when the move(2000) comes in and i count all the integers in the board, i count up to 582, which my solution returns as the end size of the final blob, but the solution is expecting 570, which should be impossible since all blobs summed up will give 582. And if i try to print something in the populate function, nothing ever prints on that test so it never gets called? Besides my populate function misbehaving, i doubt my code is doing something wrong since all the other fixed tests run fine... Could someone give a little advice what is going wrong?
Loading more items...