• Sign Up
  • Kata
  • Kumite
  • Blog
  • Forum
  • Wiki
  • Leaders
  • Log In
  • Sign Up
Name:Unknown
Clan:Cureus
Skills:ruby on rails, javascript, tdd
Member Since:Feb 2014
Last Seen:Jan 2021
Profiles:
Following:3
Followers:3
Allies:3
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (71)
  • Replies
  • Authored
  • Needs Resolution
    • ejini战神
    • resolved an issue on "Palindrome for your Dome" kata

    Not a kata issue~~ Modify ur algorithm

    • ejini战神
    • resolved an issue on "Palindrome for your Dome" kata

    Not a kata issue~~ I believe u alr solved it

    • ejini战神
    • resolved an issue on "Palindrome for your Dome" kata

    Not a kata issue~~

    • Alex N
    • commented on "Palindrome for your Dome" kata

    Thx guys, now it works! I guess that focus on Python made me too loose on declaring let/const inside the function. Will keep it in mind :)

    • kazk
    • commented on "Palindrome for your Dome" kata

    The kata is completable by avoiding the globals, but please fix when you can. I need to go to sleep.

    • Blind4Basics
    • commented on "Palindrome for your Dome" kata

    yup, that was it... x) the loop missed its let declaration... Corrected

    • Blind4Basics
    • commented on "Palindrome for your Dome" kata

    fucking JS... XD

    I'll edit the kata, lemme some time if you're not already on it.

    • kazk
    • commented on "Palindrome for your Dome" kata

    @smokedsalmon You have many variables in global scope, i for example. And the test also uses i and it's global. That should be the reason for the crazy number of tests.

    • Blind4Basics
    • commented on "Palindrome for your Dome" kata

    8o

    wow... reproducible bug... Crazy. I'll try to see if I can get the reason for it. I'll keep you posted.

    • Blind4Basics
    • commented on "Palindrome for your Dome" kata

    mmmh.... :/

    • copy your whole code
    • reset the trainer and reload the page
    • paste your code and try again
    • post your code here (with a spoiler flag) if the same is still happening
    • Alex N
    • commented on "Palindrome for your Dome" kata

    That it why I am suprised to see the result above. I have JS chosen as language, test cases are passed successfully. But once I press attempt this strange error appears.

    Someone mentioned below the problems while submitting the solution - maybe the same case here.

    • Blind4Basics
    • commented on "Palindrome for your Dome" kata

    it's not JS, or you're in the wrong kata discourse... XD -> only 50 random tests, here.

    • Alex N
    • commented on "Palindrome for your Dome" kata

    Javascript. Nothing is printed to the console

    • Chrono79
    • commented on "Palindrome for your Dome" kata

    Which language? Are you printing too much to the console?

    • Alex N
    • commented on "Palindrome for your Dome" kata

    I am getting this error: "Time: 1856ms Passed: 41391 Failed: 0 Exit Code: 137. Max Buffer Size Reached (1.5 MiB)."

    I use replace method and left/right indexing, so the solution should be pretty efficient (both in time and space comlpexity).
    Any ideas on cause of the error or potential improvements?

  • Loading more items...
  • © 2021 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Contact
  • powered by

Confirm

  • Cancel
  • Confirm