• 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
avichii Avatar
Name:Avichii
Clan:Solo
Skills:python, c, javascript, java, bash, assembly, sql, html, css
Member Since:Nov 2021
Last Seen:Sep 2024
Profiles:
Following:246
Followers:249
Allies:244
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (10)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • normnXT
    • commented on "CamelCase Method" kata
    • 6 months ago

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

  • Custom User Avatar
    • trashy_incel
    • commented on "Jaden Casing Strings" kata
    • 11 months ago
      char *ptr = (char *) malloc(len * sizeof(char));
    

    missing 1 byte for the NUL terminator, and ptr is not nul-terminated after the copy

  • Custom User Avatar
    • rowcased
    • commented on "A Needle in the Haystack" kata
    • 2 years ago

    yes

  • Custom User Avatar
    • JKYS_11257
    • commented on "Bit Counting" kata
    • 2 years ago

    try a different language??

  • Custom User Avatar
    • Kylle66
    • commented on "Playing with digits" kata
    • 2 years ago

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

  • Custom User Avatar
    • Totonho
    • commented on "CamelCase Method" kata
    • 2 years ago

    For JS it 7 or lower

  • Custom User Avatar
    • RichardxJames
    • commented on "Multiples of 3 or 5" kata
    • 2 years ago

    Basically fizzbuzz in another format

  • Custom User Avatar
    • Chrono79
    • commented on "Persistent Bugger." kata
    • 2 years ago

    Because the global var isn't reset between your function calls and keeps its value.

  • Custom User Avatar
    • Blind4Basics
    • commented on "Persistent Bugger." kata
    • 2 years ago

    tried global counter; it was working on my IDE...

    Only because you called your function once only. Call it a second time and you'll see why it doesn't work here.

  • Custom User Avatar
    • le-cr
    • commented on "Find the odd int" kata
    • 2 years ago

    Agreed!

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...