• 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
Maverink Avatar
Name:Unknown
Clan:Unknown
Member Since:Oct 2017
Last Seen:Aug 2023
Profiles:
Following:7
Followers:2
Allies:2
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (20)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Maverink
    • commented on "Consecutive strings" kata
    • 8 years ago

    check rantenor's comment...

    "Given 2 arguments, an array and an integer (represented by k), your task is to return a string that represents the very first longest block of consecutive elements in the array. The amount of elements permitted in the block is represented by k.
    if n being the length of the array; if n = 0 or k > n or k <= 0 return ""."

  • Custom User Avatar
    • Chrono79
    • commented on "Wise drunk man" kata
    • 8 years ago

    See the example tests.

  • Custom User Avatar
    • aweleshetu
    • commented on "Wise drunk man" kata
    • 8 years ago
    Test Passed: Value == 'practice till you master!'
    Test Passed: Value == 'Speak out loud!'
    Test Passed: Value == 'anything you practice, you will be good at!
    

    paste some of the error here so we can help :)

  • Custom User Avatar
    • Maverink
    • commented on "Wise drunk man" kata
    • 8 years ago

    "you have to remove those pauses (redundant/unnecessary spaces)." .. so i thought we had to output it without spaces
    but in my tests is expecting it with the spaces..

  • Custom User Avatar
    • Maverink
    • commented on "Multiple remainder of the division" javascript solution
    • 8 years ago

    yes you right mate, tks for pointing that out

  • Custom User Avatar
    • dagolinuxoid
    • commented on "Multiple remainder of the division" javascript solution
    • 8 years ago

    toString() seems redundant since toFixed() returns a string anyway. Maybe am I something missing though?

  • Custom User Avatar
    • dunjamarc
    • commented on "Array of twins" kata
    • 8 years ago

    Sorry for late reply.

    Your if statement is wrong. After sorting the array (example) [1,2,3,2,1], it looks like this [1,1, 2, 2, 3]. But your if statement does this:
    if ( 1 == 1 && 1 != 2){returns true} (1 == 2 && 1 != 2){returns false} and so on...

  • Custom User Avatar
    • Unnamed
    • resolved an issue on "Unique string characters" kata
    • 8 years ago

    It works now.

  • Custom User Avatar
    • Maverink
    • commented on "Unique string characters" kata
    • 8 years ago

    yeah all passed now ;)
    cheers

  • Custom User Avatar
    • KenKamau
    • commented on "Unique string characters" kata
    • 8 years ago

    @Unnamed, please confirm it's all OK.

  • Custom User Avatar
    • KenKamau
    • commented on "Unique string characters" kata
    • 8 years ago

    JS? It's fixed now.

  • Custom User Avatar
    • Maverink
    • commented on "Unique string characters" kata
    • 8 years ago

    dont get it..at the basic tests seems like strings but at random they look like arrays..

  • Custom User Avatar
    • Maverink
    • commented on "Too Big To Sum?" kata
    • 8 years ago

    "So, as long as the integers and their sum are never larger than 53 bits in magnitude..." "a and b will always be valid integers." , so a and b they always safe or not?

  • Custom User Avatar
    • KenKamau
    • commented on "Indexed capitalization" kata
    • 8 years ago

    After 700 completions, is this necessary?

  • Custom User Avatar
    • PETARJEV
    • commented on "Indexed capitalization" kata
    • 8 years ago

    You should also state that array "arr" does not have to be sorted.
    P.S.
    Sort the array "arr" before you use it for solutions :) .

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...