• 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
violaint Avatar
Name:Unknown
Clan:Unknown
Member Since:Mar 2020
Last Seen:Jan 2025
Profiles:
    Following:5
    Followers:1
    Allies:1
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (18)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • MSKose
      • commented on "Count Odd Numbers below n" java solution
      • 2 years ago

      "Given a number n, return the number of positive odd numbers below n, EASY!"

    • Custom User Avatar
      • ejini战神
      • resolved a question on "Counting sheep..." kata
      • 4 years ago

      Comparison of null values required . (OP solved it, closing)

    • Custom User Avatar
      • violaint
      • commented on "FIXME: Static electrickery" java solution
      • 5 years ago

      Thank you. I've got it.

    • Custom User Avatar
      • dinglemouse
      • commented on "FIXME: Static electrickery" java solution
      • 5 years ago

      RTFM Kata Rule:

      Do not modify the ONE_HUNDRED declaration

    • Custom User Avatar
      • violaint
      • commented on "FIXME: Static electrickery" java solution
      • 5 years ago

      Just ONE_HUNDRED being uppercase should be final.

    • Custom User Avatar
      • violaint
      • commented on "Count Odd Numbers below n" java solution
      • 5 years ago

      What would happen if "int n == -15", for example?.. Where is the checking for positive/negative int?

    • Custom User Avatar
      • violaint
      • created a question for "Counting sheep..." kata
      • 5 years ago

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

    • Custom User Avatar
      • violaint
      • commented on "I love you, a little , a lot, passionately ... not at all" java solution
      • 5 years ago

      In such a release when (nb_petals == 516) the result is "I love you" while it should be "not at all"...

    • Custom User Avatar
      • violaint
      • created a question for "Merging sorted integer arrays (without duplicates)" kata
      • 5 years ago

      If you please, can someone explain me in detail why all the tests are passed, but random tests - are not. It's not the only kata when it happens and I don't know how to check it without clean understanding the characters of the tests that I don't see. Please.
      import java.util.ArrayList;
      import java.util.Arrays;

      public class Kata {
      public static int[] mergeArrays(int[] first, int[] second) {
      ArrayList list = new ArrayList();
      for(int i = 0; i < first.length; i++) {
      list.add(first[i]);
      }
      for(int i = 0; i < second.length; i++) {
      list.add(second[i]);
      }
      for(int i = 0; i < list.size()-1; i++) {
      for(int j = list.size()-1; j > i+1; j--) {
      if(list.get(j) == list.get(i)) list.remove(j);
      }
      }
      int[] result = new int[list.size()];
      for(int i = 0; i < result.length; i++) {
      result[i] = (int) list.get(i);
      }
      Arrays.sort(result);
      return result;
      }
      }

    • Custom User Avatar
      • violaint
      • resolved a question on "101 Dalmatians - squash the bugs, not the dogs!" kata
      • 5 years ago

      Yes, you're right. Thank you so much! I've corrected them.

    • Custom User Avatar
      • Chrono79
      • commented on "101 Dalmatians - squash the bugs, not the dogs!" kata
      • 5 years ago

      Read carefully the sample tests, there is more than one bug still in your code.

    • Custom User Avatar
      • violaint
      • created a question for "101 Dalmatians - squash the bugs, not the dogs!" kata
      • 5 years ago

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

    • Custom User Avatar
      • violaint
      • commented on "Format words into a sentence" kata
      • 5 years ago

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

    • Custom User Avatar
      • Chrono79
      • commented on "Count of positives / sum of negatives" kata
      • 5 years ago

      Please, next time you post code, mark your post as having spoiler content. About your code, your last line should work but I don't know where you wrote it (read the next sentence). Then you typed the input and another error appears because of that.

    • Custom User Avatar
      • -ls
      • created a question for "Count of positives / sum of negatives" kata
      • 5 years ago

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

    • Loading more items...
    • © 2025 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Code of Conduct
    • Contact

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...