• 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
  • Career
  • Opportunities
    Find your next career challenge – powered by Qualified Jobs
  • 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
  • Log In
  • Sign Up
hanwenzhu Avatar
Name:Thomas Zhu
Clan:Unknown
Skills:sleep
Member Since:Aug 2019
Last Seen:May 2022
Profiles:
Following:5
Followers:7
Allies:3
View Profile Badges
Ad
Promoted
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (9)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • hanwenzhu
    • commented on "Taylor's Sine Approximation: How Many Terms?" python solution

    Maybe more random tests are needed? This analytic answer that doesn't use sin works about 10% of the time.

  • Custom User Avatar
    • hanwenzhu
    • commented on "Never gonna give you up" python solution

    There comes a day when you get rick-rolled by a kata solution.

  • Custom User Avatar
    • hanwenzhu
    • commented on "Prime Streaming (NC-17)" java solution

    This is borderline below time limit... I attempted 20+ times with this same code and it only worked once

  • Custom User Avatar
    • hanwenzhu
    • commented on "Regular Expression for Binary Numbers Divisible by n" javascript solution

    Oops, you're right. Will watch out next time

  • Custom User Avatar
    • Blind4Basics
    • commented on "Regular Expression for Binary Numbers Divisible by n" javascript solution

    x/

    next time, don't post the solution to the hard version in the easier one...

  • Default User Avatar
    • fenring76
    • commented on "[Code Golf] Length of Month" python solution

    To be fair, probably very few code golf solutions should be considered Best Practice or relied upon at all. So, either we shouldn't have the option of Best Practice at all, or we should use different criteria than we would normally use (e.g., terseness as the most desirable quality).

  • Custom User Avatar
    • hanwenzhu
    • commented on "[Code Golf] Length of Month" python solution

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

  • Custom User Avatar
    • hanwenzhu
    • commented on "Simple remove duplicates" javascript solution

    This is definitely not best practice since it relies on that JS doesn't mess around with the internal sequence of the Set, but if the array is too large there is no guarantee that JS won't.

  • Custom User Avatar
    • davidmaamoaix
    • commented on "Counting Horses" python solution

    It appears that Farmer Thomas helped Farmer Thomas in Farmer Thomas' task of counting horses.

  • © 2022 Codewars
  • About
  • API
  • Announcements
  • Privacy
  • Terms
  • Contact
  • powered by

Confirm

  • Cancel
  • Confirm

Collect: kata

Loading collection data...

Add To My Collections
    • View
      Remove Add
    You have not created any collections yet.

    Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.

    Get started now by creating a new collection.

    You must wait until you have earned at least 20 honor before you can create new collections.

Set the name for your new collection. Remember, this is going to be visible by everyone so think of something that others will understand.

Create & Add New Collection