• 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
Blind4Basics Avatar
mod
Name:Unknown
Clan:Unknown
Skills:python, <font size=1>js</font>..., java, ruby
Member Since:Sep 2016
Last Seen:Jun 2025
Profiles:
Following:31
Followers:1,488
Allies:26
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (9683)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • dfhwze
    • commented on "Find The Solution" kata
    • 1 hour ago

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

  • Custom User Avatar
    • Bendjamin100
    • resolved an issue on "Multiple of prime" kata
    • 1 hour ago

    ready

  • Custom User Avatar
    • Bendjamin100
    • resolved an issue on "Multiple of prime" kata
    • 1 hour ago

    ready

  • Custom User Avatar
    • PetitLu117
    • commented on "Advanced Pig Latin" kata
    • yesterday

    If I'm not mistaken :

    • Lua already has a fixed test for this and random tests can generate word without vowels.
    • JS random tests can generate this kind of test but I added a sample and fixed test in this fork.
  • Custom User Avatar
    • monadius
    • commented on "Blind4Basics's fork of monadius's Python solution for "Advanced Pig Latin"" kumite
    • 2 days ago

    I don't see any drafts.

  • Custom User Avatar
    • JohanWiltink
    • commented on "Blind4Basics's Python solution for "Clean Nesting Tree"" kumite
    • 4 days ago

    not arr is O(1), but in that case, any(arr) is also O(1). so not showing the base case doesn't make the solution slower. that's what I meant, and yes, I should have worded that more carefully, there are definitely situations where any(arr) is more computationally intensive than not arr.

  • Custom User Avatar
    • JohanWiltink
    • commented on "Blind4Basics's Python solution for "Clean Nesting Tree"" kumite
    • 5 days ago

    not any(arr) is O(n), but iff not arr, that's O(1). but only in that case, true.

  • Custom User Avatar
    • kubesolver
    • resolved an issue on "Mouse Over (x,y) performance version" kata
    • 8 days ago

    OMG.
    There was a bug in a testing loop.

      if expected is not actual:
          test.assert_equals(actual, expected, f"For point ({x} {y})")
          return
    

    This code was intended to fail only one assertion per test case.
    But the outside loop tested for sameness while the assertion inside tested for equality, so the solution that returned identical rectangle instead of the same rectangle got assertion right, and then early return - performing only one instead of large numbers of checks beating thus beating the tests.

  • Custom User Avatar
    • mjpieters
    • resolved a suggestion on "Mine Sweeper" kata
    • 9 days ago

    This too was resolved many moons ago.

  • Custom User Avatar
    • mjpieters
    • resolved a suggestion on "Mine Sweeper" kata
    • 9 days ago

    Marking this long-resolved suggestion as resolved.

  • Custom User Avatar
    • avermakov
    • resolved an issue on "Seventh JSON of a seventh JSON" kata
    • 10 days ago

    Fixed (8 years later :D)

  • Custom User Avatar
    • brodiemark
    • commented on "Build a Simple Spellchecker" kata
    • 15 days ago

    Sorry, I'm not understanding what you're referring to in

    Because r"\w..."

  • Custom User Avatar
    • brodiemark
    • resolved an issue on "Build a Simple Spellchecker" kata
    • 15 days ago

    What's special about _ ? The sample tests don't have to have every example of punctuation.

    I added examples like the 'ra' and 'frmo' cases to the sample tests.

  • Custom User Avatar
    • brodiemark
    • commented on "Build a Simple Spellchecker" kata
    • 15 days ago

    It's just an extra if statement. At one point I was considering having the case of the corrections be the majority case in the string - imagine how annoying that would've been. :-) Also, I wrote a whole set of test cases just for the case examples, and I don't want to redo those.

  • Custom User Avatar
    • brodiemark
    • resolved a suggestion on "Build a Simple Spellchecker" kata
    • 15 days ago

    I spent more time thinking about the casing issue than anything else. There are clearly different possibilities, and it's not clear which is best. The reason why I went with the special case for one letter words is because I want one letter misspellings of two letter words (e.g. "we") to be corrected as follows:

    "W" -> "We" (not "WE")

    "E" -> "We" (not "we")

    "w" -> "we"

    "e" -> "we".

    This is more natural to me, particularly (in the first two examples), if it's the first word of a sentence.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...