• 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
hkmt Avatar
Name:Unknown
Clan:Unknown
Member Since:Oct 2017
Last Seen:Mar 2025
Profiles:
    Following:0
    Followers:11
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (25)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • goldenratio161
      • commented on "Simplifying multilinear polynomials" python solution
      • 11 months ago

      copy pasters i guess

    • Custom User Avatar
      • goldenratio161
      • commented on "Make a spiral" python solution
      • 11 months ago

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

    • Custom User Avatar
      • eclyphh
      • commented on "Simplifying multilinear polynomials" python solution
      • 2 years ago

      bro how did you even think of this

    • Custom User Avatar
      • mitsudz
      • commented on "Screen Locking Patterns" python solution
      • 3 years ago

      This solution is insanely crazy, I was looking to get something of this style, but couldn't figure it out and went for a much more long winded approach.

    • Custom User Avatar
      • ericleong213
      • commented on "Screen Locking Patterns" python solution
      • 3 years ago

      this solution burns my brain

    • Custom User Avatar
      • Abu_Geogeal
      • commented on "Make a spiral" python solution
      • 3 years ago

      Hi

      Why is it suited for python 3.10 ? what's the feature of it involved in the refinement of the code ?

      Thanks

    • Custom User Avatar
      • rodonoah
      • commented on "Screen Locking Patterns" python solution
      • 3 years ago

      This is crazy smart

    • Custom User Avatar
      • hkmt
      • commented on "Screen Locking Patterns" python solution
      • 4 years ago

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

    • Custom User Avatar
      • Davidy22
      • commented on "Common Denominators" python solution
      • 4 years ago

      technically correct, but i feel like the kata wanted us to find the gcd and not import a library to do it for us

    • Custom User Avatar
      • Shreyas83
      • commented on "Common Denominators" python solution
      • 4 years ago

      wow...simple, fast and doesnt involve any nonsense... This is the best solution

    • Custom User Avatar
      • springos
      • commented on "Sum of Intervals" python solution
      • 4 years ago

      Damn, this is elegant. It's not particularly efficient, worst case O(n^2) time and O(n) space, but the way you build the interval array is very pretty indeed.

    • Custom User Avatar
      • flaco
      • commented on "Screen Locking Patterns" python solution
      • 5 years ago

      NOT best practice (collections as default arguments are the source of all evil).
      But damn. it's clever

    • Custom User Avatar
      • hkmt
      • commented on "Mine Sweeper" kata
      • 6 years ago

      I was also confused at the beginning but there is no error in this test.

      For example, your two solutions have a common "!" (the first cell in the 3rd row). You can safely open that cell and continue according to the result. When you open it, the number you get will eliminate some of those possibilities.

    • Custom User Avatar
      • mfilipak
      • commented on "Mine Sweeper" kata
      • 6 years ago

      I am in the same position and I understand that the result must be ?.

      Solution 1: ( "!" are the positions that one can safelly call game.open. "X" upper case is the first guess.
      x 2 3 x 2
      2 ! x x 2
      ! x 3 3 2
      ! ! ! 2 x
      ! ! X 2 1
      In this case we found one possible solution.

      Solution 2:
      x 2 3 x 2
      2 x ! x 2
      ! ! 3 3 2
      ? ! X 2 x
      ? ? ! 2 1
      One mine in any of the ? will also be a solution, so we have 3 more possibilities.

      As we end with 4 possible solutions the return should be "?"

    • Custom User Avatar
      • Blind4Basics
      • commented on "Mine Sweeper" python solution
      • 7 years ago

      if a==29:map[(28,0)]=open(28,0) # Because one of the tests is wrong!!!

      => lol! No, no tests are wrong, it's just your code... ;)

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...