Ad
  • Default User Avatar

    what format was your output string in. cant seem to figure it out even though my algo works as expected

  • Default User Avatar

    i think the test checks the value of the string. You dont have to return the string in that case, pointers do their thing

  • Default User Avatar

    can someone answer where the function findIndex() comes from. this isnt in the standard lib

  • Default User Avatar

    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

  • Default User Avatar

    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

  • Default User Avatar

    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

  • Default User Avatar

    dont stress, this kata is a bit wonky. your solution is probably the right one.

  • Default User Avatar

    Dont stress yourself, the python tests are probably broken or something

  • Default User Avatar

    i'm probably on the same case right now. any hints?

  • Default User Avatar

    This is not in-place though. Cool soln still

  • Default User Avatar

    you arent answering the same question or something. Your math is way off.

  • Default User Avatar

    I COMPLETED A g964 KATA!!! TODAY, I KNOW I AM A PROGRAMMER

  • Default User Avatar

    This kata reminds me of my introductory comp sci professor. mofo worded our test, midterms and exams like this. I hope he never knows peace

  • Default User Avatar

    Dont listen to what people are saying in the comments if you cant pass the attempts, your double loop solution is the solution they are talking about, there is nothing else to it. Your code is timing out because of external factors(maybe internet speed or something like that). I spent our "optimizing" my code, got it to work after aproximating only to see that my basic brute force implementation passed the tests for others but not for me apparently. Check my answer, i included the implementations that didnt "work" for me.

  • Default User Avatar

    I hate when i have to spend more time trying to understand the math: not because it is part of the problem but because the kata is poorly worded. I dont want to go learn Euler's method just to solve this kata. I mean, i dont have to solve this but its annoying knowing that i could easily solve this if someone explained the concept better in the description.

  • Loading more items...