• 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
ThatOneGuyWhoCodes Avatar
Name:Unknown
Clan:Unknown
Member Since:Dec 2022
Last Seen:May 2025
Profiles:
    Following:0
    Followers:1
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (16)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • seraph776
      • commented on "Proche de 0: (Close to 0)" kumite
      • 6 months ago

      reduced character count by 14 also made the test cases inline (:

      “Okay, you have some skill” -- Merovingian 😏

    • Custom User Avatar
      • ThatOneGuyWhoCodes
      • commented on "Symbolic differentiation of prefix expressions" kata
      • 7 months ago

      The general form ended up working for me, I did have to mess with the ordering though

    • Custom User Avatar
      • ThatOneGuyWhoCodes
      • commented on "Defuse the bombs!" kata
      • 16 months ago

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

    • Custom User Avatar
      • ThatOneGuyWhoCodes
      • created an issue for "Simple SQL Engine" kata
      • 17 months ago

      Loved the Kata, interpereters are always fun, but I was able to brute force the random tests with a bit of good RNG.

      Now I gotta find something else to do......

    • Custom User Avatar
      • cwps
      • commented on "Multiplying Polynomials" kata
      • 2 years ago

      Okay, done. Thanks for the fix.

    • Custom User Avatar
      • cwps
      • resolved an issue on "Multiplying Polynomials" kata
      • 2 years ago

      Fix applied. Thanks @RileyHunter

    • Custom User Avatar
      • RileyHunter
      • commented on "Multiplying Polynomials" kata
      • 2 years ago

      Just apply the fix I think - I'm not attached to the fork in any way and the change is literally two characters.

    • Custom User Avatar
      • cwps
      • commented on "Multiplying Polynomials" kata
      • 2 years ago

      can't approve the fork yet, but I can directly apply the fix. I don't know what to do here... x_x

    • Custom User Avatar
      • RileyHunter
      • created a suggestion for "Multiplying Polynomials" kata
      • 2 years ago

      Bugfixing fork to address cases in which the JS reference solution breaks down:

      https://www.codewars.com/kumite/65383e33e681c41613bcb605?sel=65383e33e681c41613bcb605

      Details on bugfix here:

      https://www.codewars.com/kata/63c05c1aeffe877458a15994/discuss/javascript#6536cc0c49d3ef23dade29b1

      Waiting on approval.

    • Custom User Avatar
      • RileyHunter
      • commented on "Multiplying Polynomials" kata
      • 2 years ago

      Confirming this is a bug in the reference solution. When the first polynomial string ends with the variable and the second starts with it the variable is incorrectly detected as being multiple characters, e.g.

      Testing: -1+4a and a-9a^3: expected '-36a^4+9a^3+4a^2-a' to equal '-NaN'

      This is because it's scanning the concatenated string -1+4aa-9a^3 and finding the "variable" aa, then parsing breaks down from there. I've fixed this in a fork here:

      https://www.codewars.com/kumite/65383e33e681c41613bcb605?sel=65383e33e681c41613bcb605

      Just waiting for approval

    • Custom User Avatar
      • XoRMiAS
      • commented on "Multiplying Polynomials" kata
      • 2 years ago

      There are libraries for this, but I don't think they can be used on Codewars.
      If you're running node locally, you can find libraries on https://www.npmjs.com/

      Complexity
      Since you have to multiply every term of one polynomial with each term of the other polynomial,
      the best you can do is O(m*n) where m and n are the number of terms in the two polynomials.
      You can only get O(n^2) if both polynomials have the same number of terms.

    • Custom User Avatar
      • ThatOneGuyWhoCodes
      • created a question for "Multiplying Polynomials" kata
      • 2 years ago

      Are there any Javascript libraries that could be helpful for this? I haven't worked with JS imports before and have no idea if there are any math based one.

      If not, is there a way I can get my code from O(n^2) to O(nlogn)?

      Also I'm trying to learn complexity so am I right in that assement above?

    • Custom User Avatar
      • dfhwze
      • resolved an issue on "Rational Root Theorem" kata
      • 3 years ago

      Unfortunately, your kata got already retired. You could try again, just make sure to adhere to certain quality requirements when authoring a kata. Good luck :)

    • Custom User Avatar
      • ThatOneGuyWhoCodes
      • commented on "Rational Root Theorem" kata
      • 3 years ago

      Fixed

    • Custom User Avatar
      • ThatOneGuyWhoCodes
      • commented on "Recover a secret string from random triplets" kata
      • 3 years ago

      same lol

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...