• 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
Twilight_Sun Avatar
Name:Unknown
Clan:Unknown
Member Since:Oct 2020
Last Seen:Jun 2025
Profiles:
Following:21
Followers:63
Allies:15
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (119)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Just4FunCoder
    • commented on "Scooby Doo Puzzle" kata
    • 3 months ago

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

  • Custom User Avatar
    • dfhwze
    • commented on "Around Fibonacci: chunks and counts" kata
    • 4 months ago

    should be fixed, please reset trainer and try again, or you will have a hard time reaching 2 dan in js ;)

  • Custom User Avatar
    • Just4FunCoder
    • resolved an issue on "Proof Read " kata
    • 5 months ago

    Fixed in all languages.

  • Custom User Avatar
    • Jomopipi
    • resolved an issue on "Partition Detection" kata
    • 6 months ago

    Fixed. TY for your contribution.

  • Custom User Avatar
    • Jomopipi
    • commented on "Partition Detection" kata
    • 6 months ago

    Interesting.. let me look into this. Thanks for finding it.

  • Custom User Avatar
    • bornForThis
    • commented on "Identifying Mutual Likes in a Dating App" kata
    • 6 months ago

    I am checking correct ordering in the tests. I think that ordering in the output here indeed is not the focus of the logic being tested, but rather a way to validate correctness in assertions. If a query logically guarantees correct representation without explicit ordering, I believe it should be accepted.

    BTW, brilliant solution, Twilight_Sun :) Like in Ukraine we are joking, "solution of the son of his mother's friend" :D

  • Custom User Avatar
    • dfhwze
    • commented on "Identifying Mutual Likes in a Dating App" kata
    • 6 months ago

    I would argue it depends on whether the ordering is an intended part of the challenge, or just a way to make sure your results are in the correct order for the assertion to work. I think it's the latter here. So if you manage to pass without explicitly ordering, good for you, no?

  • Custom User Avatar
    • dfhwze
    • resolved a suggestion on "Rubik's Cube Simulator" kata
    • 6 months ago

    yes

  • Custom User Avatar
    • dfhwze
    • commented on "Calculating FIFO (First-In, First-Out) Gross Margin " kata
    • 11 months ago

    I'm thinking about the following task: one table with current stock and maximum stock capacity for each product, and then the purchases and sales tables. User should make a sql report with current stock after each purchase/sale, and actions taken for each purchase/sale -> approved or rejected. A purchase is rejected when stock is full and a sale is rejected when stock is empty. Do you think such kata is too close to the current kata you are drafting? If not, I'll have a go at authoring such kata.

  • Custom User Avatar
    • dfhwze
    • commented on "Calculating FIFO (First-In, First-Out) Gross Margin " kata
    • 11 months ago

    I hope author goes for (2) here, which was the intended way (looking at author comments in a previous discussion). This would be a challenging task in SQL.

  • Custom User Avatar
    • dfhwze
    • commented on "Calculating FIFO (First-In, First-Out) Gross Margin " kata
    • 11 months ago

    Very interesting, you could easily make an entire series of kata's on this subject, each with different expected behavior for sales when nothing is in stock ;)

  • Custom User Avatar
    • bornForThis
    • commented on "Calculating FIFO (First-In, First-Out) Gross Margin " kata
    • 11 months ago

    don't have much time today :/. Putting kata into draft and will carefully work with all issues when have time (and re-check my solution because looks that it has issues)...Very interesting problem

  • Custom User Avatar
    • KayleighWasTaken
    • resolved an issue on "Thinking & Testing : From nothingness To nothingness" kata
    • 13 months ago

    Fixed by fork.

  • Custom User Avatar
    • topologoanatom
    • commented on "Pisano Period - Performance Edition" kata
    • 14 months ago

    Indeed, there was just "primes" in JS. Changed it to semiprimes

  • Custom User Avatar
    • dfhwze
    • commented on "Pisano Period - Performance Edition" kata
    • 14 months ago

    I wrote the JS translation and used the exact same batch suite names as in Python. The ~ stands for prime and almost-primes.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...