• 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
botarmy Avatar
Name:Unknown
Clan:Unknown
Member Since:Jun 2021
Last Seen:Jun 2024
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    Ad
    8 Reasons Why Codewarriors Practice Coding with Codewars
    Not everyone trains the same. Discover new ways to leverage Codewars in your education and career.
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations
    • Replies (10)
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • natan
      • commented on "Binary Addition" kata
      • 17 months ago

      seems redundant ...

    • Custom User Avatar
      • rowcased
      • commented on "Binary Addition" kata
      • 17 months ago

      because it says "write to the binary string and return it":

      • that is the given string
      • it has been pre-allocated
      • write to it
      • return it
      • profit
    • Custom User Avatar
      • rowcased
      • commented on "Binary Addition" kata
      • 17 months ago

      Please just forget the IDE, work only with the kata on the codewars site.

      You do not need to, and thus should not, allocate memory. It has already been allocated for you in the provided pointer.

    • Custom User Avatar
      • rowcased
      • commented on "Binary Addition" kata
      • 17 months ago

      I have not seen your code, but you must not be returning the provided char *binary from the declaration. The idea is to write TO *binary and then return that from the function... whether or not your code works on another IDE is meaningless if it's not set up the same as on codewars.

    • Custom User Avatar
      • rowcased
      • commented on "Beginner - Lost Without a Map" c solution
      • 17 months ago

      because of the very next line(s) of code

    • Custom User Avatar
      • porkfreezer
      • commented on "You Can't Code Under Pressure #1" c solution
      • 2 years ago

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

    • Custom User Avatar
      • bidouille
      • commented on "Guess Who?" python solution
      • 3 years ago

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

    • Custom User Avatar
      • 3coma3
      • commented on "Calculating with Functions" kata
      • 3 years ago

      Currying

    • Custom User Avatar
      • Revan27
      • commented on "Calculating with Functions" kata
      • 3 years ago

      If you haven't solved it yet, you don't need to learn much for this. It's just about creating a good algorithm

    • Custom User Avatar
      • XoRMiAS
      • commented on "Reversed Strings" javascript solution
      • 3 years ago

      It iterates over the string only once instead of three times, making it much faster.

      If you aren't concerned with speed or space, the short code is nicer imo, since it's readability is better.

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...