• 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
prsmith Avatar
Name:Paul Smith
Clan:Ranken Technical College
Skills:javascript, c#, java, c++, php, erlang
Member Since:Oct 2017
Last Seen:Sep 2024
Profiles:
Following:25
Followers:38
Allies:24
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (18)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • SummerTheCoder
    • commented on "Reversed Strings" java solution
    • last month

    Apache Commons is not a standard part of the Java language

    Well it is part of the library supplied by Codewars's test runner.

    There's nothing bad about using external packages.

  • Custom User Avatar
    • DorianGray2
    • commented on "Reversed Strings" java solution
    • 10 months ago

    It doesn't, because the input string is thread safe and we don't use member variables.

  • Custom User Avatar
    • Dhyuthidhar2404
    • commented on "Reversed Strings" java solution
    • 15 months ago

    Can you explain How can we know does the code need thread safety or not?

  • Custom User Avatar
    • antonelsmann
    • commented on "Reversed Strings" java solution
    • 2 years ago

    IMO, IMO is superior to IMHO

  • Custom User Avatar
    • quonn77
    • commented on "Reversed Strings" java solution
    • 3 years ago

    I agree with you, there is, IMHO, no need at all for thread safety here

  • Custom User Avatar
    • DorianGray2
    • commented on "Reversed Strings" java solution
    • 4 years ago

    Agreed, for local variables it doesn't make sense

  • Custom User Avatar
    • Torbjorn_galdra
    • commented on "Anagram Detection" java solution
    • 4 years ago

    That's true. And you could also improve your solution.
    It's low-cohesive and doesn't meet with the DRY principle. Same work needed to remove glaring redundancy in order to beautify this code.

  • Custom User Avatar
    • zLuki
    • resolved an issue on "Remove String Spaces" kata
    • 4 years ago

    Done

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

    Its been months since you reply but if you are still wondering when we measure how much time it takes for an algorithm to finish, we do not measure in time but in O(n), you can search the Big O notation(if u havent already) and youll see. btw if im wrong someone correct me im a newbie aswell.

  • Custom User Avatar
    • Mr.Dr.Professor
    • commented on "Anagram Detection" java solution
    • 5 years ago

    It can be simplifed even more using constant space

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

    i see everyone talking about 'O(N)' and that kind of stuff what does it all mean. i am a newbie by the way.
    lol obviously.

  • Custom User Avatar
    • kan_a
    • commented on "Unlucky Days" javascript solution
    • 5 years ago

    Thank You! Glad to see in codewars someone concerns about efficiency.
    It is even possible to determine the day of the week for 1 January without new Date().

    P.S. Sometimes I do much stranger things...

  • Custom User Avatar
    • MasterMaxLennonKroll
    • commented on "Artemas's Java solution for "Remove String Spaces"" kumite
    • 6 years ago

    I just learned the join method, so I decidied it would be cool to use it in this problem. Thank you for your help :]

  • Custom User Avatar
    • Eiru
    • commented on "Reversed Strings" java solution
    • 6 years ago

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

  • Custom User Avatar
    • cassum777
    • commented on "Power of two" csharp solution
    • 6 years ago

    oops)

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...