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.
That doesn't sound right. Can you say which language Kata you are using so I can see it happen?
~
FYI - the hard tests should be
But, using some
console.log
orprintf
orSystem.out.println
(or some equivalent function for thelanguage) you can log the input (ants, terrain) values yourself.Apologies, didn't mean to mark it as an issue. To clarify, I just meant that the log for the tests labeled "Hard" don't provide much detail. For example, the log for one of the Hard tests says:
ABCDEFGHIJ
. However, the log for a case in the Random tests says:Without the values for ants and the terrain, it's hard for me to debug my code.
I'm not sure why this is flagged as an
ISSUE
. AFAIK there are no problems with the hard tests. Anyway, if you suspect Kata problems, please say the language so someone can confirm your report. But if there are already multiple solutions for your languange then any issue is more likely to be in your solution.As for guidance, I am not sure -- the tests are called "hard" for a reason, so you may have to go to pencil and paper to see where you went wrong. IMO, it is suspicious that
FEDCBAJIHG
andGFEDCBAJIH
are almost the same except for theG
at the wrong end, so it might just be a case that you need to iterate your logic one extra step?Hi, some of the test cases under hard only provides what I'm assuming is the original order of ants and nothing else, so I'm not able to debug my code. MY code is currently passing 109 and only failing 4 tests (all of which are in the Hard tests. For example, the log says: ABCDEFGHIJ.
The feedback is:
'FEDCBAJIHG' should equal 'GFEDCBAJIH'.
Can I please get some guidance? Would really like to figure this one out!
true Chadley behavior