• 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
HeferH24 Avatar
Name:Unknown
Clan:Unknown
Member Since:Oct 2021
Last Seen:Mar 2024
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (25)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • NoneAli
    • commented on "Roman Numerals Encoder" javascript solution
    • 3 months ago

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

  • Custom User Avatar
    • Rrinna
    • commented on "Extract the domain name from a URL" javascript solution
    • 3 years ago

    thank you very much. I finally figured it out

  • Custom User Avatar
    • kristenzheng
    • commented on "Highest Scoring Word" javascript solution
    • 3 years ago

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

  • Custom User Avatar
    • richbits
    • commented on "Extract the domain name from a URL" javascript solution
    • 3 years ago

    It is a non capturing group, so you can group a set of characters and optionalise them. https://www.stefanjudis.com/today-i-learned/non-capturing-groups-in-regular-expressions/

  • Custom User Avatar
    • Lagoon
    • commented on "Extract the domain name from a URL" javascript solution
    • 4 years ago

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

  • Custom User Avatar
    • Blind4Basics
    • commented on "Sort the odd" javascript solution
    • 4 years ago

    that doesn't change anything

  • Custom User Avatar
    • wadedo
    • commented on "Sort the odd" javascript solution
    • 4 years ago

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

  • Custom User Avatar
    • YOSYA
    • commented on "Faro Shuffle Count" javascript solution
    • 4 years ago

    It's a magic))

  • Custom User Avatar
    • akar-0
    • commented on "Faro Shuffle Count" javascript solution
    • 4 years ago

    Exactly.

  • Custom User Avatar
    • akar-0
    • commented on "Faro Shuffle Count" javascript solution
    • 4 years ago

    No.

  • Custom User Avatar
    • Chrono79
    • resolved a question on "Rectangle into Squares" kata
    • 4 years ago

    To OP,

    in a test like 3 * 8 -> should return [3,3,2,1,1] right ?

    Yes.

  • Custom User Avatar
    • ebusta1
    • commented on "Rectangle into Squares" kata
    • 4 years ago

    That makes sense. Thanks for the reply!

  • Custom User Avatar
    • sid114
    • commented on "Rectangle into Squares" kata
    • 4 years ago

    'test' is generally given by the author so you can edit the cases with examples you want to test (the lower right block of code can be edited if you want to test your own examples)
    'attempt' checks your code against basic tests (usually with edge cases) and random tests (to ensure you didn't use only if-else statements to satisfy basic test)
    this is how it usually works in most katas
    so check your algo if it doesn't pass random tests.

  • Custom User Avatar
    • ebusta1
    • commented on "Rectangle into Squares" kata
    • 4 years ago

    Yeah that's what I get too. I passed all the test but when I "Attempt" my solution it fails. Not sure what's goint on with that. It shouldn't be allowed to pass all the "test", and then fail the "Attempt". That doesn't even make sense. I guess I have to go back to the drawing board. My algorithm is wrong.

  • Custom User Avatar
    • Chrono79
    • resolved a question on "Maximum subarray sum" kata
    • 4 years ago

    Closing then.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...