• 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
smashzen Avatar
Name:Doug Riblet
Clan:MKS
Skills:javascript
Member Since:Aug 2015
Last Seen:Mar 2019
Profiles:
Following:14
Followers:15
Allies:14
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (48)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • JohanWiltink
    • resolved a suggestion on "The takeWhile Function" kata
    • 6 months ago

    "prefix" is completely unambiguous.

  • Custom User Avatar
    • ejini战神
    • resolved a question on "#1 Matrices : Making an Alternating Sum" kata
    • 2 years ago

    OP solved it, closing

  • Custom User Avatar
    • macnick
    • commented on "Dragon's Curve" kata
    • 4 years ago

    !

  • Custom User Avatar
    • ejini战神
    • resolved a question on "SpeedCode #3 × Fun with ES6 Classes #5 - Dogs and Classes" kata
    • 4 years ago

    OP solved it,closing

  • Custom User Avatar
    • user8436785
    • resolved an issue on "Is the string uppercase?" kata
    • 6 years ago

    Fixed description.

  • Custom User Avatar
    • cliffstamp
    • resolved a suggestion on "Dinner Plans" kata
    • 7 years ago

    You can't delete solutions, however CW itself will flags them as failed if they actually do fail when tests are updated.

  • Custom User Avatar
    • FArekkusu
    • resolved an issue on "What's up next?" kata
    • 7 years ago

    Not a kata issue.

  • Custom User Avatar
    • ExaStencil
    • commented on "What's up next?" kata
    • 8 years ago

    The reason the kata is 8 kyu is because it was originally a Clojure kata and this is one of the simplest things you can do in Clojure. Subsequent ports are naturally harder in other languages, but the difficulty rating is common across languages. It may make sense now to reclassify it, but I don't think CodeWars lets you do that, unfortunately.

  • Custom User Avatar
    • steven.anderson
    • commented on "What's up next?" kata
    • 8 years ago

    Very true! I have never ran into generators before, and I have been stuck on that part of the problem for a very long time. I agree that this should be bumped to a harder difficulty kyu.

  • Custom User Avatar
    • JohanWiltink
    • resolved a suggestion on "The dropWhile Function" kata
    • 8 years ago

    My guess is this is never going to be changed. Also, "longest prefix" is not actually open to interpretation.

    Closing this suggestion.

  • Custom User Avatar
    • BobDuQuesnay
    • commented on "What's up next?" kata
    • 9 years ago

    I couldn't agree more!

  • Custom User Avatar
    • mn113
    • commented on "80's Kids #6: Rock 'Em, Sock 'Em Robots" kata
    • 9 years ago

    The numbers do appear to side with the winners you calculated.

    You should ask @NateBrady23 to look at his tests, there are seemingly a couple of bad apples in a large barrel.

  • Custom User Avatar
    • amber123
    • commented on "80's Kids #6: Rock 'Em, Sock 'Em Robots" kata
    • 9 years ago

    I am also stuck at same problem.please tell what to do

  • Custom User Avatar
    • Robin-Andrews
    • commented on "SpeedCode #3 × Fun with ES6 Classes #5 - Dogs and Classes" kata
    • 9 years ago

    The arguments are not in the same order in Dog vs Labrador. Are you sure you've got them all covered?

  • Custom User Avatar
    • jgcdeveloper
    • commented on "The dropWhile Function" kata
    • 9 years ago

    I agree, my initial code was written to remove the longest sequence of the predicate regardless of where it was in the sequence, not if it was just at the start.

    Example, if you have [2,5,6,7,5,9,8,9], and the predicate is odd numbers, my reading of the problem is that I look for the longest sequence of odd numbers ( [7,5,9] ), and remove it, returning [2,5,6,8,9].

    However, the kata tests that you remove the number of predicate only as they occur at the start of the Array..

    So, since this sequence starts with even, you would leave the array untouched and return [2,5,6,7,5,9,8,9].

    I am assuming I misunderstand the meaning of "longest prefix" as well.

    The confusion I think comes in when he calls for the "longest" prefix... but if prefix is only the inital numbers at the start, you will never have a longer and a shorter prefix... you can only have one prefix to be removed. When I read longest, I instantly went looking fot the longest continuous number of predicate values to remove.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...