• 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
pl3onasm Avatar
Name:David De Potter
Clan:University of Groningen
Skills:c, c++, python, haskell, java, javascript, prolog, php, sql
Member Since:Mar 2021
Last Seen:Nov 2024
Profiles:
Following:18
Followers:15
Allies:14
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies
  • Authored (25)
  • Needs Resolution
  • Custom User Avatar
    • pl3onasm
    • commented on "Roman Numerals Encoder" cpp solution
    • 3 years ago

    Beautiful :)

  • Custom User Avatar
    • pl3onasm
    • created an issue for "Sort binary tree by levels" kata
    • 3 years ago

    The tests seem broken for C. The parameter tree_size isn't passed correctly.
    If I print the value of tree_size, which should be 8 for the first test case, I get zero. This means that I get a result array of size zero and fail the test case.
    But if I manually assign the value 8 to it, I pass the test case.

  • Custom User Avatar
    • pl3onasm
    • commented on "Escape the maze" kata
    • 3 years ago

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

  • Custom User Avatar
    • pl3onasm
    • commented on "Simple Interactive Interpreter" kata
    • 3 years ago

    The first one.

    4 (2+avg 10 30) = 13.0

  • Custom User Avatar
    • pl3onasm
    • commented on "Escape the maze" kata
    • 3 years ago

    Sure, I understand that's a decision that's been made, but I really don't share that view.

  • Custom User Avatar
    • pl3onasm
    • commented on "Escape the maze" kata
    • 3 years ago

    Imo this is a 4 kyu in python, but a 3 kyu in c or java if one insists on finding the shortest path.
    To be fair, I think it's strange to maintain the same kyu for different programming languages in cases like these.
    Also, the description shoud clearly state that there could be more than one exit.

  • Custom User Avatar
    • pl3onasm
    • commented on "Centre of attention" c solution
    • 3 years ago

    Time complexity is O(n). The image is scanned two times at most.

  • Custom User Avatar
    • pl3onasm
    • commented on "Centre of attention" kata
    • 3 years ago

    Thanks for the feedback. The code wasn't efficient and I did a lot of unnecessary work. I optimized it, and now it works fine. Nice kata :)

  • Custom User Avatar
    • pl3onasm
    • commented on "Centre of attention" kata
    • 3 years ago

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

  • Custom User Avatar
    • pl3onasm
    • commented on "Centre of attention" kata
    • 3 years ago

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

  • Custom User Avatar
    • pl3onasm
    • created a question for "Centre of attention" kata
    • 3 years ago

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

  • Custom User Avatar
    • pl3onasm
    • commented on "Knight's Attack! " kata
    • 3 years ago

    Interestingly, I get this solution due to the heuristic that I used:

    
                                         #######     0
                                     ###############
                                    ####         #### 1
                                   ####           ####
                                  ###               ###2
                                  ###               ###
                                 ###                 ###3
                                 ##                   ##
                                ###                   ###4
                                 ##                   ##
                                 ###                 ###5
                                  ###               ###
                                  ###               ###6
                                   ####           ####
                                    ####         #### 7
      ####                           ###############8
       ####                            ###########9
        #####                            #######0
          #####                               1
            ######               ##         2
              #######################     3
                ###################     4
                 6  ###########       5
                    4   2   0   8   6
                7 5   3   1   9   7
    
    
    
  • Custom User Avatar
    • pl3onasm
    • commented on "A Knight's Tour" kata
    • 3 years ago

    A challenge version someone? :)

  • Custom User Avatar
    • pl3onasm
    • commented on "N queens problem (with one mandatory queen position) - challenge version" kata
    • 3 years ago

    Took some time, but it was a fun challenge. Thanks :)

  • Custom User Avatar
    • pl3onasm
    • commented on "Boggle Word Checker" kata
    • 3 years ago

    Not sure what happend then, because I just copied it. Perhaps I copied it wrong.
    But if it's OK on your side, then it's all good :D
    Cheers!

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...