• 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
Maxmengt Avatar
Name:Boyang Zheng
Clan:zhengboyang.com
Skills:algorithm, c++, javascript, python
Member Since:Nov 2016
Last Seen:Jan 2017
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (11)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • thanhkhanhcntt
    • commented on "Can you get the loop ?" javascript solution
    • 5 years ago

    Your solution is not good. Every good boy just use O(1) memory and O(n) time, you use O(n) memory.

  • Custom User Avatar
    • Chrono79
    • commented on "Exes and Ohs" javascript solution
    • 8 years ago

    In the example there is a little typo = should be ==

  • Custom User Avatar
    • diva-D
    • commented on "Exes and Ohs" javascript solution
    • 8 years ago

    To clarify , == (equality operator) in JavaScript will convert types when comparing.

    For example, return 5 = '5' will return true even though it is comparing a number and a string.
    This is because JavaScript will convert them to the same type when comparing.

    Using === (strict equality operator) will not convert type so the above example would return false

  • Custom User Avatar
    • Maxmengt
    • commented on "Can you get the loop ?" javascript solution
    • 9 years ago

    A funny solution!

  • Custom User Avatar
    • Maxmengt
    • commented on "Hamming Numbers" javascript solution
    • 9 years ago

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

  • Custom User Avatar
    • Maxmengt
    • commented on "Hamming Numbers" javascript solution
    • 9 years ago

    ...why codewars don't set code limit?

  • Custom User Avatar
    • Maxmengt
    • commented on "IQ Test" javascript solution
    • 9 years ago

    Nice idea!

  • Custom User Avatar
    • JohanWiltink
    • commented on "Exes and Ohs" javascript solution
    • 9 years ago

    == is never enough. == bites. == is inexplicable bugs waiting to happen.

    === is much more predictable and untemperamental.

  • Custom User Avatar
    • Maxmengt
    • commented on "Growth of a Population" javascript solution
    • 9 years ago

    It works! But I can't understand this, could someone help me?

  • Custom User Avatar
    • Maxmengt
    • commented on "Exes and Ohs" javascript solution
    • 9 years ago

    Nice solution! But I think '==' is enough.

  • Custom User Avatar
    • Maxmengt
    • commented on "Sum of Digits / Digital Root" javascript solution
    • 9 years ago

    Nice solution!

  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...