• 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
SleepingCode Avatar
Name:Unknown
Clan:The Physicists
Skills:physics, maths, music, python
Member Since:Sep 2015
Last Seen:Nov 2024
Profiles:
Following:7
Followers:13
Allies:3
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (251)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • trashy_incel
    • resolved an issue on "Simplifying multilinear polynomials" kata
    • 4 months ago

    duplicate of this issue

  • Custom User Avatar
    • trashy_incel
    • resolved an issue on "Simplifying multilinear polynomials" kata
    • 4 months ago

    duplicate of this issue

  • Custom User Avatar
    • ViacheslavMelnikov
    • commented on "Simplifying multilinear polynomials" kata
    • 4 months ago

    Solved the problem. The question arose due to a misunderstanding. Clear question == clear answer.

  • Custom User Avatar
    • Mednoob
    • resolved an issue on "Simplifying multilinear polynomials" kata
    • 4 months ago

    You haven't implemented this case:

    • If two monomials have the same number of variables, they appears in lexicographic order, e.g.:
      "a+ca-ab" -> "a-ab+ac", "xzy+zby" ->"byz+xyz"

    In the first example, 4a should come first before b since a < b in lexicographical order. Same with the second example, fk < kq.

  • Custom User Avatar
    • ViacheslavMelnikov
    • created an issue for "Simplifying multilinear polynomials" kata
    • 4 months ago

    Hi! An error is issued:
    poly = 3a+b+4ac+bc-ab+3a-cb-a-a
    Sorry :( : 'b+4a-ab+4ac' should equal '4a+b-ab+4ac'
    by the condition of the problem, this is true! 'b+4a-ab+4ac'

    poly = -8fk+5kv-4yk+7kf-qk+yqv-3vqy+4ky+4kf+yvqkf
    Sorry :( : '-kq+3fk+5kv-2qvy+fkqvy' should equal '3fk-kq+5kv-2qvy+fkqvy'
    by the condition of the problem, this is true! '-kq+3fk+5kv-2qvy+fkqvy'

    Fix it or test it or tell me where I'm wrong.

  • Custom User Avatar
    • Just4FunCoder
    • resolved a suggestion on "Simplifying multilinear polynomials" kata
    • 4 months ago

    Enabled in this fork

  • Custom User Avatar
    • DimsFromDergachy
    • created an issue for "Simplifying multilinear polynomials" kata
    • 8 months ago

    On Haskell there is a bug in testing code:

    In random tests, for example, having a list of monomials: ("", -1), ("b", -9), <...>
    so, the system says:
    expected: "--9b+ <...>"
    got: "-9b <...>"

    Obviously, that testing code doesn't work correct for monomial "-1", because, it reduces that to "-" (like "-1a" should be reduced to "-a")

    So, could you please, check this behaviour and fix it?

    Regards

  • Custom User Avatar
    • trashy_incel
    • commented on "Simplifying multilinear polynomials" kata
    • 10 months ago

    fork

  • Custom User Avatar
    • trashy_incel
    • created a suggestion for "Simplifying multilinear polynomials" kata
    • 10 months ago

    Python fork (author gone)

    • proper use of the test framework
    • random tests (fixing this issue)
  • Custom User Avatar
    • User5477
    • commented on "Find the smallest integer in the array" python solution
    • 16 months ago

    πŸ˜„πŸ‘

  • Custom User Avatar
    • Angelina_Polozhentseva
    • commented on "Simplifying multilinear polynomials" kata
    • 2 years ago

    Thank you for this kata! Nice! I've been solving for a long time, but i enjoyed it.

  • Custom User Avatar
    • Morsala
    • created a question for "Simplifying multilinear polynomials" kata
    • 2 years ago

    How do I understand which tests were used in the section "More complicated tests"? Otherwise I won't understand how to fix the code. All other tests are solved correctly.

  • Custom User Avatar
    • Ezatullah Farazi
    • commented on "Find the smallest integer in the array" python solution
    • 2 years ago

    I still am struggling to understand thisπŸ€”. Can someone explain it in a dummy way, please?

  • Custom User Avatar
    • akar-0
    • commented on "Simplifying multilinear polynomials" kata
    • 2 years ago

    doesn't "5ab" have a number of variables greater than "-c"?
    Maybe you're misunderstanding the instructions. Each letter is a variable, you must sort by the "number of variables", not by the coefficient

  • Custom User Avatar
    • Chenyuxin745
    • commented on "Beginner Series #1 School Paperwork" java solution
    • 2 years ago

    low

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...