• 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
michael_wu Avatar
Name:Michael
Clan:Commander Cody
Member Since:Dec 2017
Last Seen:Jun 2025
Profiles:
Following:3
Followers:4
Allies:3
View Profile Badges
Ad
Educator, struggling to assess your students?
Assess your classroom or bootcamp with the world leading assessment platform, Qualified.Request your demo today!
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (62)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Muldrak
    • commented on "Moving Zeros To The End" haskell solution
    • last month

    super clever! :)

  • Custom User Avatar
    • michael_wu
    • commented on "Twin Sum Solutions (Ruby)" kumite
    • 2 months ago

    This iterates through the array n * n times in worst case.

  • Custom User Avatar
    • o2001
    • resolved an issue on "Fraction to periodic decimal" kata
    • 6 months ago

    .

  • Custom User Avatar
    • o2001
    • resolved a suggestion on "Fraction to periodic decimal" kata
    • 6 months ago

    approved by someone

  • Custom User Avatar
    • o2001
    • commented on "Fraction to periodic decimal" kata
    • 6 months ago

    Fork published

  • Custom User Avatar
    • o2001
    • created a suggestion for "Fraction to periodic decimal" kata
    • 6 months ago

    Fork of eurydice5717's translation that resolves this issue caused by overflow. Each call to generate a random value now constructs its own int distribution, removing the arithmetic and guaranteeing that the numbers are in range.

  • Custom User Avatar
    • michael_wu
    • created an issue for "Fraction to periodic decimal" kata
    • 6 months ago

    C++ version. Contrary to the description, negative arguments are fed to the function.
    The expected results for negative fractions look strange:
    Incorrect result for fractionToPeriodic(-1689246217, 36291): Expected: equal to "-46547.(-2-4-90-9-7-5-7-2-400-...)"

  • Custom User Avatar
    • ZeroOf149
    • commented on "Calculate the Sum Rounded Down" kata
    • 7 months ago

    Fixed now. Thank you very much.

  • Custom User Avatar
    • michael_wu
    • commented on "Calculate the Sum Rounded Down" cpp solution
    • 7 months ago

    Suddenly it looks so simple.

  • Custom User Avatar
    • michael_wu
    • commented on "Calculate the Sum Rounded Down" kata
    • 7 months ago

    Should it be mentioned that the function is pure or am I missing something?

  • Custom User Avatar
    • michael_wu
    • commented on "Mew Cipher" kata
    • 7 months ago

    I get a SIGABRT with my code. Surely, my code is wrong but I do not allocate any memory so how is it possible?

    Besides, I'm seeing

    Expected: "*&ikh)ihg&j'kj%&hij'-&'*ih)h'"

    which should not be possible ("Every String consists of only lowercase letters and spaces.")

  • Custom User Avatar
    • michael_wu
    • commented on "Trick the Christmas Calendar!" ruby solution
    • 10 months ago

    Using the very big hammer, nice.

  • Custom User Avatar
    • JohanWiltink
    • commented on "Quantum Bogosort" haskell solution
    • 10 months ago

    This won't handle empty lists. Tests have been updated to check for that.

  • Custom User Avatar
    • trashy_incel
    • commented on "Simple Fun #182: Happy "g"" kata
    • 11 months ago

    no it's not, the reference solution was using a + instead of *. fixed.

  • Custom User Avatar
    • michael_wu
    • commented on "Simple Fun #182: Happy "g"" kata
    • 11 months ago

    Ruby version: For "" (empty string) the expected return is false although all gs are happy. Is that correct?

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...