• 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
davidmak2709 Avatar
Name:David Makovac
Clan:Unknown
Member Since:Sep 2018
Last Seen:Oct 2023
Profiles:
Following:0
Followers:1
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (17)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Stillfabolous
    • commented on "Reverse words" java solution
    • 9 months ago

    The best and understandable

  • Custom User Avatar
    • P90x
    • commented on "Reverse words" java solution
    • 16 months ago

    What's wrong with my code?

  • Custom User Avatar
    • connanz1234
    • commented on "Reverse words" java solution
    • 16 months ago

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

  • Custom User Avatar
    • JzTbRofosuke
    • commented on "Reverse words" java solution
    • 2 years ago

    Does it?

  • Custom User Avatar
    • pikaden
    • commented on "Reverse words" java solution
    • 2 years ago

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

  • Custom User Avatar
    • mindgames7
    • commented on "Reverse words" java solution
    • 3 years ago

    that is clever! thanks ^_^

  • Custom User Avatar
    • k0nxz
    • commented on "Reverse words" java solution
    • 3 years ago

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

  • Custom User Avatar
    • Wavey1287
    • commented on "Reverse words" java solution
    • 3 years ago

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

  • Custom User Avatar
    • andmalenko
    • commented on "Reverse words" java solution
    • 3 years ago

    I don't understand how this code solve "double space" problem?

  • Custom User Avatar
    • murakas
    • commented on "Reverse words" java solution
    • 4 years ago

    What if there are multiple gaps?

  • Custom User Avatar
    • dllk
    • commented on "Reverse words" java solution
    • 4 years ago

    The solution doesn't retain spaces at the end of the string.
    String given = "abcd ";

  • Custom User Avatar
    • OCompiled
    • commented on "Reverse words" java solution
    • 5 years ago

    Time Complexity: O(n)
    Space Complexity: O(n)
    Great Job!

  • Custom User Avatar
    • prsmith
    • commented on "Reverse words" java solution
    • 6 years ago

    If N is the number of words in the original string. Then this version requires 3N+2 array allocations.

  • Custom User Avatar
    • rootnt
    • commented on "Reverse words" java solution
    • 6 years ago

    your solution can't pass this test:

    assertEquals("elbuod decaps ta eht dne ", Kata.reverseWords("double spaced at the end "));

  • Custom User Avatar
    • BenjaminUrquhart
    • commented on "Reverse words" java solution
    • 7 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...