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.
Look at the error I posted:
"Testing for [false, true, true] and "XOR"
✘ It should work for random inputs too - Expected: true, instead got: false"
false XOR true -> true ---> true XOR true ---> false yet it says that it expects true... my solution is not wrong
further more... I am not asking a question.. so why would I mark it as such
No, your solution is wrong. You should post a
question
and not anissue
.Anyways, I've updated the descriptions to clarify how the fold is initiated.
fixed.
Would be harder with larger input and though time limit.
thanks! :)
Information added to the description.
Regards, TDRS :-)
i dont understand how this is 6 kyu? its a great kata... but definitley easy for 6 kyu
apparently we arent allowed to modify the list.... make a copy of it and do ur code on the copy adn return that and it should pass the tests
typically in java the hexadecimal letters (A to F) are not case sensitive.. they can be written as (0xaaa) or (0xAAA)... however in this kata only the latter is accepted, but that is not mentioned in the description...
Hello,
Happy to hear that :-), I cant understand your suggestion :-(, perhaps you mean to the letters (A, B, C...) ?
Best Regards,
TDRS
in Ruby.. in the random test cases.. i get the following
Testing for [false, true, true] and "XOR"
✘ It should work for random inputs too - Expected: true, instead got: false
im pretty sure that i am right and the tests are wrong... please check them... theres like 13-20 more of these errors.. in all of them.. what the test expects is wrong...
check for null before you check for length.
if the object is null it will not have a length property so a NullPointerException will be thrown..
i think i may have cheated on the kata.... can you look at my solution and let me know if it is acceptable? thanks!
great kata.. could you mention in the description that the answer should be in UpperCase..
i am truly amazed at how many people are complaining of the same problem.... it's almost as if no one reads the descriptions :') :')
Loading more items...