• 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
  • Career
  • Opportunities
    Find your next career challenge – powered by Qualified Jobs
  • 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
  • Log In
  • Sign Up
Firefly2002 Avatar
Name:Daniel
Clan:Flatiron School
Member Since:Sep 2016
Last Seen:Apr 2022
Profiles:
Following:485
Followers:522
Allies:478
View Profile Badges
Ad
Promoted
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (1468)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Firefly2002
    • commented on "Counting in English one, two, three... to 2 Quadrillion (2,000,000,000,000,000)" kata

    Yeah, the description isn't clear (I didn't write it). I guess it should be changed to 5 specifically.

  • Custom User Avatar
    • Firefly2002
    • commented on "Counting in English one, two, three... to 2 Quadrillion (2,000,000,000,000,000)" kata

    Possible I missed some edge cases. Regardless, your solution had numerous issues (including failing to round up from x.xxxx5), which is likely why it took you 100+ attempts.

  • Custom User Avatar
    • dfhwze
    • commented on "Counting in English one, two, three... to 2 Quadrillion (2,000,000,000,000,000)" kata

    I managed to submit my 100th attempt. I tried some other solutions, they are all failing now. Anyway, I'm done with this. This was a horrible experience.

  • Custom User Avatar
    • dfhwze
    • commented on "Counting in English one, two, three... to 2 Quadrillion (2,000,000,000,000,000)" kata

    you expect the digit zeronine ?

    -1105915342.5357988 -> negative one billion one hundred and five million nine hundred and fifteen thousand three hundred and forty-two point five three five seven zeronine eight eight - Expected: 'negative one billion one hundred and five million nine hundred and fifteen thousand three hundred and forty-two point five three five seven zeronine eight eight', instead got: 'negative one billion one hundred and five million nine hundred and fifteen thousand three hundred and forty-two point five three five eight'
    
  • Custom User Avatar
    • Firefly2002
    • commented on "Counting in English one, two, three... to 2 Quadrillion (2,000,000,000,000,000)" kata

    I'm sure you could have found a more constructive way to phrase that, but updated.

    As it happens, it looks like I didn't so much "make a mess", as the original JS solution had issues which were exposed by the additional tests-- something I didn't realize as my solution passed against the reference when I tried it.

    Your solution, by the way, has a few issues with it.

  • Custom User Avatar
    • dfhwze
    • commented on "Counting in English one, two, three... to 2 Quadrillion (2,000,000,000,000,000)" kata

    can you fix the mess you made?

  • Default User Avatar
    • trashy_incel
    • resolved a suggestion on "Conway's Game of Life" kata

    raised as an issue

  • Custom User Avatar
    • Firefly2002
    • commented on "Array Product (Sans n)" kata

    Right; this meanas your solution isn't efficient enough (likely of the wrong complexity). You'll need to come up with a faster solution, which probably means rethinking it.

  • Custom User Avatar
    • ejini战神
    • resolved a suggestion on "altERnaTIng cAsE <=> ALTerNAtiNG CaSe" kata

    Ranks cant be changed despite imbalance between languages

  • Default User Avatar
    • SinisterCutlass
    • created a question for "Array Product (Sans n)" kata

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

  • Custom User Avatar
    • Firefly2002
    • commented on "Counting in English one, two, three... to 2 Quadrillion (2,000,000,000,000,000)" kata

    Random tests added, random decimals added.

  • Custom User Avatar
    • YOSYA
    • commented on "Counting in English one, two, three... to 2 Quadrillion (2,000,000,000,000,000)" javascript solution

    ))

  • Custom User Avatar
    • Firefly2002
    • commented on "Counting in English one, two, three... to 2 Quadrillion (2,000,000,000,000,000)" javascript solution

    Good lord.

  • Custom User Avatar
    • Firefly2002
    • commented on "Codwars or Codewars?" kata

    four year old comment from when I was pretty new to coding ;)

  • Default User Avatar
    • farhanaditya
    • commented on "Codwars or Codewars?" kata

    It means your regex isn't precise enough.

  • Loading more items...
  • © 2022 Codewars
  • About
  • API
  • Announcements
  • Privacy
  • Terms
  • Contact
  • powered by

Confirm

  • Cancel
  • Confirm

Collect: kata

Loading collection data...

Add To My Collections
    • View
      Remove Add
    You have not created any collections yet.

    Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.

    Get started now by creating a new collection.

    You must wait until you have earned at least 20 honor before you can create new collections.

Set the name for your new collection. Remember, this is going to be visible by everyone so think of something that others will understand.

Create & Add New Collection