• 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
GHajba Avatar
Name:Gábor László Hajba
Clan:EBCONT enterprise technologies
Skills:java, elixir, python
Member Since:Aug 2016
Last Seen:Mar 2018
Profiles:
Following:2
Followers:2
Allies:2
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (23)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • urawsm
    • commented on "Is the string uppercase?" elixir solution
    • 2 years ago

    Short and sweet, but not best practices. I think this is a cute and clever solution for a simple string, but not efficient if the input was 100s or 1000s of characters long. I'd prefer a solution that returned false as soon as a lowercase character was found. In this case this solution is O(n) yet always the worst case, meaning that it always has to reach the last item (ALL characters must be uppercased) before it can determine the boolean value. This is more of a JS like solution than an Elixir solution. Elixir has better "tools" for working with strings.

  • Custom User Avatar
    • zhb161
    • commented on "Find Maximum and Minimum Values of a List" java solution
    • 2 years ago

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

  • Custom User Avatar
    • fireindark707
    • commented on "Is the string uppercase?" elixir solution
    • 3 years ago

    This is very clever!!!

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

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

  • Custom User Avatar
    • Torbjorn_galdra
    • commented on "String interlacing" java solution
    • 4 years ago

    This recursive call after both strings are already processed is not a very performance-wise thing

    if(f2.length < s2.length)
    return interlacing(s2, f2);

  • Custom User Avatar
    • krotname
    • commented on "Sum without highest and lowest number" java solution
    • 4 years ago

    this O(logN)

    its kata can be solved O(N)

  • Custom User Avatar
    • SirSkylord
    • commented on "Mirror object - tcejbo rorriM" kata
    • 5 years ago

    still issue

  • Custom User Avatar
    • GHajba
    • commented on "Proficient Classic Hello World" java solution
    • 8 years ago

    Works now. Thanks.

  • Custom User Avatar
    • GHajba
    • created an issue for "Mirror object - tcejbo rorriM" kata
    • 8 years ago

    Elixir translation lacks of sample test cases and/or a proper description. Without them I have no idea what to do.

  • Custom User Avatar
    • Javatlacati
    • commented on "Proficient Classic Hello World" java solution
    • 8 years ago

    Thank you since codewars java runner was refactored now it fails on any warning. Please retry.

  • Custom User Avatar
    • GHajba
    • commented on "Proficient Classic Hello World" java solution
    • 8 years ago

    Well, even though I fix the little problem which comes from your confusing description, the code does not compile and gives an error (based on a warning) and then I cannot even submit my solution.

    You should fix this.

    /home/codewarrior/src/main/java/TestT.java:184: warning: non-varargs call of varargs method with inexact argument type for last parameter;
    
  • Custom User Avatar
    • Javatlacati
    • commented on "Proficient Classic Hello World" java solution
    • 8 years ago

    Please retry solution is not correct

  • Custom User Avatar
    • nuzyly
    • commented on "Sum without highest and lowest number" java solution
    • 8 years ago

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

  • Custom User Avatar
    • friendRU
    • commented on "Two fighters, one winner." java solution
    • 8 years ago

    Funny, man))

  • Custom User Avatar
    • GHajba
    • commented on "Two fighters, one winner." java solution
    • 8 years ago

    Yes, that's true :) I have no idea why it arrived there but I guess it remained after refactoring the code.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...