• 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
flaaj Avatar
Name:Michał Wołek
Clan:RadomskoCoders
Member Since:Jan 2020
Last Seen:Jul 2025
Profiles:
Following:5
Followers:5
Allies:5
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies
  • Authored (18)
  • Needs Resolution
  • Custom User Avatar
    • flaaj
    • commented on "The Lift" kata
    • 3 years ago

    obvious, but hard. Writing in in an object oriented approach is more accessible to most programmers I guess. For me too, I'd die trying to find a correct recursive algorithm for this :P

  • Custom User Avatar
    • flaaj
    • commented on "The Lift" kata
    • 3 years ago

    @epicshaner If you did with JS or TS, you can check mine. I'm learning clean code stuff and did this kata for training so it should be quite easy to understand.

  • Custom User Avatar
    • flaaj
    • commented on "The Lift" javascript solution
    • 3 years ago

    I love that someone actually gave that "Best Practices".
    I understand nothing

  • Custom User Avatar
    • flaaj
    • commented on "Ones and Zeros" javascript solution
    • 5 years ago

    only if length of array was not 4 :D

  • Custom User Avatar
    • flaaj
    • commented on "Multiples of 3 or 5" javascript solution
    • 5 years ago

    just because you can, and others can learn the features of JS (or other languages).

    In real work you shouldnt make everything one-liners, you should make code as clear to read for others as possible, at the same time not making it too long. But here we are for the purpose of training and learning language.

  • Custom User Avatar
    • flaaj
    • commented on "Consecutive strings" python solution
    • 5 years ago

    it's not a "make the shortest variable names possible" contest. Call your variables in a way so that others can intuitively know what is inside them.

  • Custom User Avatar
    • flaaj
    • commented on "Sum of values from 1 to n inclusive { nΣn=1 }" python solution
    • 5 years ago

    yeah, you're right. Thanks :)

  • Custom User Avatar
    • flaaj
    • commented on "One Line Task: Circle Intersection" kata
    • 5 years ago

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

  • Custom User Avatar
    • flaaj
    • commented on "One Line Task: Circle Intersection" kata
    • 5 years ago

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

  • Custom User Avatar
    • flaaj
    • commented on "One Line Task: Circle Intersection" kata
    • 5 years ago

    im at 128... :D

  • Custom User Avatar
    • flaaj
    • commented on "Social Golfer Problem Validator" kata
    • 6 years ago

    more test cases please, because you can solve kata without following instructions. Or at least modify this one, so that the set of players each day is the same:

    [['AB', 'CD', 'EF', 'GH'], ['AC', 'BD', 'EG', 'FH'], ['AD', 'CE', '', 'B'], ['AE', 'BG', 'CH', 'FD']]
    to
    [['AB', 'CD', 'EF', 'GH'], ['AC', 'BD', 'EG', 'FH'], ['ADGF', 'CEH', '', 'B'], ['AE', 'BG', 'CH', 'FD']]

  • Custom User Avatar
    • flaaj
    • commented on "Exponentials as fractions" kata
    • 6 years ago

    Exponential function is e^x

  • Custom User Avatar
    • flaaj
    • commented on "Mystery Function" kata
    • 6 years ago

    ok, my algorithm was correct. If somebody struggles with the same thing: use int( number ) or // instead of / when dividing or subtracting a huge number (even though division should result in an integer). I have no idea why, but it works :P

  • Custom User Avatar
    • flaaj
    • commented on "Mystery Function" kata
    • 6 years ago

    is there a reason why for small numbers in random tests it works and for large numbers there is a tiny relative difference (like 10 to 1000 when the number is for instance 1294351675530507022), apart from that i did it wrong?

  • Custom User Avatar
    • flaaj
    • commented on "Numbers that are a power of their sum of digits" python solution
    • 6 years ago

    this kata is funny. You just put random huge numbers in the ranges of loops and it works if numbers are high enough :D

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...