Ad
  • Custom User Avatar

    So I'm failing on the test that gives input '123' in javascript and expects output '123'. I've console.log'd the input and output for all tests and according to the console I'm literally outputting the exact right answer but it won't take it. I even went so far as to find a different ROT13 kata (https://www.codewars.com/kata/530e15517bc88ac656000716/javascript), copy-pasted my code, and passed that kata on the first try. At the very least this kata should pass when the correct solution is given, but probably also just delete one of the two kata? They're literally the same problem.

  • Custom User Avatar

    Not clear at all what to do in the case that you're given an empty line or a line with one space in it. The description should atleast cover one example of what to do in such a case.

  • Custom User Avatar

    Writing good code also means writing efficient code; if you are getting timeout issue on codewars it's likely that your code is running much slower than it could to reach the same solution.

  • Custom User Avatar

    I finally got it, I realized I wasn't recurring at the depth that I thought I was.

  • Custom User Avatar

    Passing all tests besides the last two in Java, running into stack overflow errors past about n = 20300. What should I do? Right now my solution is recursive so maybe I should attempt to find a solution with the same time complexity that isn't recursive? I'm guessing a bunch of matrices sitting on the stack isn't great for memory...