• 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
Nemo98 Avatar
Name:Unknown
Clan:Unknown
Member Since:Apr 2020
Last Seen:Dec 2024
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (12)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • Nemo98
      • commented on "Where my anagrams at?" kata
      • 5 years ago

      Hi, did you ever sort out your problem?

    • Custom User Avatar
      • clcraig
      • commented on "Consecutive Ducks" kata
      • 5 years ago

      Understood. There are other approaches that have linear and even constant run times. Read up on triangular numbers, for example.

    • Custom User Avatar
      • Nemo98
      • commented on "Consecutive Ducks" kata
      • 5 years ago

      I am trying to avoid a nested loop, because it keeps timing out, with what I currently have... And one of comments here, are of someone mentioning their code has two loops, and I think the creator of this kata, mentioning that nested loops will cause the code to time out, basically.

    • Custom User Avatar
      • clcraig
      • commented on "Consecutive Ducks" kata
      • 5 years ago

      Yes. It's equivalent to while ( true ) { ... } or do { ... } while ( true );, but without block level scoping. When those loops are compiled into machine code, they're reduced to an unconditional jump instruction, i.e. goto.

      Why are you trying to avoid a nested loop anyway?

      FYI, when you post code to discourse, bracket it with block code formatting so it's easier to read.

    • Custom User Avatar
      • Clonewarrior
      • created a suggestion for "Consecutive Ducks" kata
      • 5 years ago

      I think this kata should contain a hint in the description, about when a number can be expressed as the sum of consecutive numbers, to be ranked as 7kyu.

    • Custom User Avatar
      • Nemo98
      • created a question for "Consecutive Ducks" kata
      • 5 years ago

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

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

      Hello did you sort the problem out? I see this was posted last month.

    • Custom User Avatar
      • user2058606
      • created a suggestion for "Responsible Drinking" kata
      • 5 years ago

      Factor translation

    • Custom User Avatar
      • Nemo98
      • commented on "Responsible Drinking" kata
      • 5 years ago

      Thank you, I took it for granted that it worked in Visual Studio.

    • Custom User Avatar
      • B1ts
      • commented on "Responsible Drinking" kata
      • 5 years ago

      Did you forget to include using System; statement?

    • Custom User Avatar
      • FArekkusu
      • resolved an issue on "Responsible Drinking" kata
      • 5 years ago

      Not an issue. Your code is causing this.

    • Custom User Avatar
      • Nemo98
      • created an issue for "Responsible Drinking" kata
      • 5 years ago

      I'm having an issue, where it tells me Convert doesn't exist in the current context.

      As in:

      Convert.ToInt32();

      Am I missing something?

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...