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.
this task has nothing to do with programming
what format was your output string in. cant seem to figure it out even though my algo works as expected
i think the test checks the value of the string. You dont have to return the string in that case, pointers do their thing
can someone answer where the function findIndex() comes from. this isnt in the standard lib
basically, i write code, it passes most cases but somehow fails 1 or maybe 2 tests. I look through my code for 2-3 days trying to figure it out only to give up, check solutions and the first answer is the exact same as mine. IDK what to say? this kata shouldnt take more than 5 mins
i ended up solving it. My original solution returned the same output as the solution that passed on the all cases. IDK what else to say
It's not broken. 706 users completed it in C, and I just solved it myself without any problems.
Maybe there's something helpful to you in this article: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution
is this broken for C?
in my local environment, my code returns the expected values from the tests, but the tests say i don't
They are absolutely not broken... python has almost 17000 solves.
dont stress, this kata is a bit wonky. your solution is probably the right one.
Thx bro, now my solution complete)
Dont stress yourself, the python tests are probably broken or something
i'm probably on the same case right now. any hints?
This is not in-place though. Cool soln still
you arent answering the same question or something. Your math is way off.
Loading more items...