• 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
MangoGT Avatar
Name:Celia_Wu
Clan:Brown University
Member Since:Dec 2017
Last Seen:Jul 2023
Profiles:
Following:84
Followers:84
Allies:83
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (14)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • g964
    • resolved an issue on "Square into Squares. Protect trees!" kata
    • 8 years ago

    Modified. Top-answer and second-from-top don't pass anymore. Nevertheless they are not invalidated?!

    Edit: now they are.

  • Custom User Avatar
    • Voile
    • commented on "Square into Squares. Protect trees!" kata
    • 8 years ago

    Note to author:

    JS version still has under 500 solves so it's possible to edit the tests. ;-)

  • Custom User Avatar
    • xarxziux
    • created an issue for "Square into Squares. Protect trees!" kata
    • 8 years ago

    The tests for JavaScript are incomplete and are accepting incorrect submissions. For example, if we try to calculate decompose (9927447), the second-from-top submission returns the incorrect answer [ 1, 2, 3, 5, 6, 7, 88, 4455, 9927446 ], the third returns the correct answer [ 1, 3, 17, 87, 4455, 9927446 ], while the top answer causes a stack overflow!

    I only discovered this after my incorrect algorithm was accepted, but the R version failed the unit tests.

  • Custom User Avatar
    • MangoGT
    • commented on "Square into Squares. Protect trees!" kata
    • 8 years ago

    A great Kata.
    Challenging but quite interesting!

  • Custom User Avatar
    • g964
    • commented on "Rectangle into Squares" kata
    • 8 years ago

    Thanks!

  • Custom User Avatar
    • MangoGT
    • commented on "Rectangle into Squares" kata
    • 8 years ago

    Great kata for reminding me of the knowledge about structure!
    I love it !

  • Custom User Avatar
    • MangoGT
    • commented on "ToLeetSpeak" kata
    • 8 years ago

    Not very interesting...especially when you need to carefuly distuinguish z with 2...

  • Custom User Avatar
    • MangoGT
    • commented on "Financing Plan on Planet XY140Z-n" kata
    • 8 years ago

    Good kata. Try to figure out the pattern and get a formula.

    But if there could be more specifications such as the detailed calculating process of finance(5), this kata will be better!

  • Custom User Avatar
    • MangoGT
    • commented on "Will you make it?" kata
    • 8 years ago

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

  • Custom User Avatar
    • g964
    • resolved a suggestion on "Are they the "same"?" kata
    • 8 years ago

    true, false removed
    stdio.h,stdlib.h,string.h,stddef.h were already there
    I keep sizeArray...
    Thanks again!

  • Custom User Avatar
    • MangoGT
    • resolved a question on "Are they the "same"?" kata
    • 8 years ago

    Thanks, you really helped me a lot!

  • Custom User Avatar
    • Unnamed
    • created a suggestion for "Are they the "same"?" kata
    • 8 years ago

    In C:

    • true and false are defined in stdbool.h, no need to redefine them.
    • Technically size_t is defined in stddef.h and stdio.h, stdlib.h, string.h, time.h, uchar.h, wchar.h. Some of these headers should be included.
    • sizeArray sound like an array of sizes. It should be arraySize.
  • Custom User Avatar
    • Unnamed
    • commented on "Are they the "same"?" kata
    • 8 years ago

    There's no such thing as null. The null pointer is NULL defined in stddef.h and some other headers.

  • Custom User Avatar
    • MangoGT
    • created a question for "Are they the "same"?" kata
    • 8 years ago

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

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...