• 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
KernelJ Avatar
Name:Unknown
Clan:irc.mologie.de:6677#anarchynetwork
Member Since:Jul 2014
Last Seen:Mar 2025
Profiles:
    Following:4
    Followers:9
    Allies:4
    View Profile Badges
    Ad
    Would You Pass the Google SQL Interview? Test Yourself with These 7 Concepts
    Study up for your next SQL interview with these interview questions.
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (19)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • 1alexvash
      • commented on "No oddities here" kata
      • 11 months ago

      true 10 years ago, still true

    • Custom User Avatar
      • KernelJ
      • commented on "validDate Regex" javascript solution
      • 12 months ago

      There is a bug in this one, it fails for "[02-20]".

    • Custom User Avatar
      • mo.mo.
      • commented on "Product of consecutive Fib numbers" javascript solution
      • 3 years ago

      nnice!

    • Custom User Avatar
      • brianpck
      • commented on "Did you mean ...?" javascript solution
      • 10 years ago

      You should credit this to the source, though... (https://en.wikipedia.org/wiki/Levenshtein_distance)

    • Custom User Avatar
      • democraci
      • commented on "Did you mean ...?" javascript solution
      • 10 years ago

      brilliant

    • Custom User Avatar
      • glebec
      • commented on "bit "Wise" #2: SHIFT-iness" javascript solution
      • 10 years ago

      Could you walk me through this in a conceptual step-by-step way? EDIT: oh, I see, when you do this & 111... you're essentially using JS to give you the answer directly, and then padding it on the next line. Clever.

    • Custom User Avatar
      • glebec
      • commented on "bit "Wise" #2: SHIFT-iness" javascript solution
      • 10 years ago

      To be more specific, they are presented as signed 32-bit ints when using bitwise operators.

    • Custom User Avatar
      • Dolphin_Wood
      • commented on "bit "Wise" #2: SHIFT-iness" javascript solution
      • 11 years ago

      This is awesome but will go wrong while I wanna get a string of length >= 32. In JavaScript, numbers are storaged with 64bits but presented with 32bits, so 1 << 32(or higher) is '0...000' not '1...000', which causes the error.

    • Custom User Avatar
      • KernelJ
      • commented on "Functional Binary Trees" kata
      • 11 years ago

      I think some people have cheated on this kata without realising. I think more test cases are needed for remove, e.g. remove node from high up on a deeper tree (more than a couple levels below it).

    • Custom User Avatar
      • KernelJ
      • commented on "Complex CSV Parser" javascript solution
      • 11 years ago

      fantastic

    • Custom User Avatar
      • KernelJ
      • commented on "My smallest code interpreter (aka Brainf**k)" javascript solution
      • 11 years ago

      I love this, it's a great approach to solving this problem. Compile to Javascript and run it through eval(). Neat! Potentially quite efficient too if the Javascript interpreter gets to compile it, not that these type of languages are ever meant to run fast.

    • Custom User Avatar
      • KernelJ
      • commented on "Can you get the loop ?" kata
      • 11 years ago

      I'd say this kata is already way too easy for 3 kyu, and there's no simpler version of this problem that would be interesting.

    • Custom User Avatar
      • KernelJ
      • commented on "bit "Wise" #2: SHIFT-iness" kata
      • 11 years ago

      The tester for this problem appears to let through invalid solutions. Add a test case such as (-3).twos(5) === '11101'.

    • Custom User Avatar
      • KernelJ
      • commented on "bit "Wise" #2: SHIFT-iness" javascript solution
      • 11 years ago

      This doesn't work!!! Try e.g. (-3).twos(5) you get 11111

    • Custom User Avatar
      • KernelJ
      • commented on "UriBuilder" kata
      • 11 years ago

      This also helps check if people have used decodeURI and encodeURI correctly. N.B. the path after the hostname, the parameter name and the parameter value can all have URI encoded characters in them! I reckon nearly all the current solutions won't work at all.

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...