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.
Thanks for the fun Kata it almost beat me. I was stuck for a long time on the C++ version all because i forgot 1 line.
On the C++ version of this kata, the sample test case is missing
Describe(ElementSum){
it gives an errors if you dont add it in yourself, some may have trouble with this.
changed it, sorry i was following the python version of the kata when i did this one and they use "True" and "False"
C++ Translation
Made you another :)
I also added the cpp example in description.
C++ Translation
Here is another for ya :).
Also i love your kata's.
C++ Translation
Please Review and Approve.
I may be wrong here, but i was interested by what was happening here that i started to look at it(Dont know much Java myself.) but the only thing i can see is that maybe it is because in your code you modify the original array. I believe this change to the array makes just the 1's and 0's remain in the array when it is sent to the test function so there is nothing for it to remove and it give the expected answer of just 1's an 0's and nothing removed. Hope this makes sense.
This comment is hidden because it contains spoiler information about the solution
thanks for the advice with the solution code, i am still learning :) it was only recently that i broke the habit of using:
@Zorianff9 i belive the
Exit Code:
in red is becuase of the solution setup. When i go into edit it passes everything, but if i select the Solution Setup tab since there is nothing there it givesExit Code:
and some number. Im guessing when you do the run output there it shows both not sure why.sorry about that i changed it to a function in there. I am not the best at this stuff, and i am still new to the translations and making kata's. I had trouble the first time i tryed to make it a function but realized what i did wrong there was i put it inside the It{}. and that made it give me a error. still learning how all the test case stuff works.
Made this translation based off your tests, did you want random tests to be > 101?
Also nice kata btw.
C++ Translation
C++ Translation
Please review and approve.
C++ Translation
Made a C++ Translation.
C++ Translation
I had so much fun the first time i did another. Hopefully this one doesnt have any of the errors or problems the last one had.
Loading more items...