• 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
marcin-programuje Avatar
Name:Unknown
Clan:Unknown
Member Since:Aug 2020
Last Seen:Jun 2022
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (16)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • dhan-pro
    • commented on "MakeUpperCase" java solution
    • 15 months ago

    I don't think this null is necessary for this problem.

  • Custom User Avatar
    • yohannesm
    • commented on "Count characters in your string" scala solution
    • 15 months ago

    is groupMapReduce() a new thing ?

  • Custom User Avatar
    • oHeckGage
    • commented on "MakeUpperCase" java solution
    • 2 years ago

    @davorpa If you read the docs, it shows that has the null check built into it.

    if (locale == null) {
    throw new NullPointerException();
    }

  • Custom User Avatar
    • davorpa
    • commented on "MakeUpperCase" java solution
    • 2 years ago

    do you know the concept of null-safe methods? null is not same as empty

  • Custom User Avatar
    • DangoDerg
    • commented on "MakeUpperCase" java solution
    • 2 years ago

    It's no need to check for empty string, because .toUpperCase contains this condition: https://www.javatpoint.com/java-string-touppercase

  • Custom User Avatar
    • marcin-programuje
    • commented on "Reversed sequence " java solution
    • 3 years ago

    Brilliant idea!

  • Custom User Avatar
    • marcin-programuje
    • commented on "Sum without highest and lowest number" java solution
    • 3 years ago

    The readability can be improved looping through elements on the array, not with the use of the index. Suggesting using foreach loop.

  • Custom User Avatar
    • marcin-programuje
    • commented on "Even or Odd" java solution
    • 3 years ago

    These round brackets around the condition are not really necessary. However, the simplest solution to me.

  • Custom User Avatar
    • erikskaar
    • commented on "Returning Strings" kotlin solution
    • 4 years ago

    They are only needed whenever you aren't just using a simple variable. An example is "hello, ${person.name}" or "hello, ${name.replace("a", "b")}".

  • Custom User Avatar
    • user1299549
    • commented on "Returning Strings" kotlin solution
    • 4 years ago

    When is it neccessaryly tu use them? My attempt worked without them.
    Thanks for reply

  • Custom User Avatar
    • marcin-programuje
    • commented on "Enumerable Magic #3 - Does My List Include This?" kotlin solution
    • 4 years ago

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

  • Custom User Avatar
    • marcin-programuje
    • commented on "Returning Strings" kotlin solution
    • 4 years ago

    Curly brackets in a string template are redundant for that particular case.

  • Custom User Avatar
    • LegendaryFartMaster
    • commented on "Count characters in your string" scala solution
    • 5 years ago

    Love this implementation!

  • Custom User Avatar
    • marcin-programuje
    • commented on "Dubstep" scala solution
    • 5 years ago

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

  • Custom User Avatar
    • marcin-programuje
    • commented on "Can you get the loop ?" java solution
    • 5 years ago

    It is better to use LinkedList when you add nodes frequently to the list's end, because this operation runs O(1).

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...