• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
coding251 Avatar
Name:Unknown
Clan:Founders & Coders
Member Since:Oct 2015
Last Seen:Sep 2020
Profiles:
    Following:173
    Followers:169
    Allies:166
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (60)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • hobovsky
      • commented on "Running out of space" kata
      • 9 months ago

      Please see if this article helps: https://docs.codewars.com/training/training-example#writing-a-solution

    • Custom User Avatar
      • KvallotBCN
      • commented on "Running out of space" kata
      • 9 months ago

      This comment is hidden because it contains spoiler information about the solution

    • Custom User Avatar
      • JohanWiltink
      • created an issue for "Running out of space" kata
      • 14 months ago

      ( at least JS, Haskell )

      a function that removes the spaces from the values

      This is not tested. In fact, the description seems not to specify the task at all.

    • Custom User Avatar
      • ejini战神
      • resolved a suggestion on "Running out of space" kata
      • 15 months ago

      Approved, thanks! Sorry about the remark, it was an oversight from my end :-)

    • Custom User Avatar
      • o2001
      • created a suggestion for "Running out of space" kata
      • 15 months ago

      JS Fork with the testing code upgraded from v8 to v18, and, as such, also upgraded to Mocha. Test layout was cleaned and feedback to user was slightly improved. Console logging was removed.

    • Custom User Avatar
      • JohanWiltink
      • commented on "Running out of space" kata
      • 15 months ago

      If this ever gets approved, someone will have to check if random tests in all languages generate compliant inputs.

      Don't just make up specs that were not there before!

    • Custom User Avatar
      • JohanWiltink
      • commented on "Running out of space" kata
      • 15 months ago

      Approved.

    • Custom User Avatar
      • rsa
      • commented on "Running out of space" kata
      • 2 years ago

      Haskell translation for approval

    • Custom User Avatar
      • Ciprian Amza
      • commented on "Running out of space" kata
      • 2 years ago

      The kata expects that you don't create a new array (String[] result in your case), but you modify in place the array that you receive as a parameter.

    • Custom User Avatar
      • Ciprian Amza
      • commented on "Running out of space" kata
      • 2 years ago

      Yes, unfortunately. You have to modify the array in-place and to return the array that you get as a paramater until it gets fixed.

    • Custom User Avatar
      • plelonek91
      • commented on "Running out of space" kata
      • 2 years ago

      Java - random test fail:

      "array contents differ at index [1], expected: but was: "

      In my code i dont have double value from index 0, I dont understand why I get that error.

    • Custom User Avatar
      • ZizTheGreat
      • commented on "Running out of space" kata
      • 2 years ago

      To amplify the previous report in re the random tests expect the input as the result...
      Try this:
      public … {
      return array;
      }
      When you Attempt, it will pass the Random tests, and it shouldn’t.

      srfoster’s solution should work, but they had to do a workaround to get past the bug.

      Also, the problem wording is ambiguous (politically correct for “it sucks”). The actual solution does not match the scenario - the solution sucks up much more space.

      Better wording which matches the solution:
      “Write a function that takes a String array and returns a String array in which each element is the contatenation of all preceding elements plus the current element.”

      Wording which matches the scenario:
      “Write a function that concatenates the elements of a String array.”
      Then overhaul the solution and make it 8 kyu.

    • Custom User Avatar
      • hobovsky
      • created a suggestion for "Running out of space" kata
      • 2 years ago

      This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/189.
      Please join the discussion to help us identify duplicate kata and retire them.

    • Custom User Avatar
      • Fob0s96
      • commented on "Running out of space" kata
      • 2 years ago

      This comment is hidden because it contains spoiler information about the solution

    • Custom User Avatar
      • Unnamed
      • created an issue for "Running out of space" kata
      • 2 years ago

      This comment is hidden because it contains spoiler information about the solution

    • Loading more items...
    • © 2025 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Code of Conduct
    • Contact

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...