• 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
Pensive1 Avatar
Name:Richard Acquaye
Clan:BestStation
Member Since:Apr 2023
Last Seen:Aug 2024
Profiles:
Following:5
Followers:2
Allies:2
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (16)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Pensive1
    • commented on "Array.diff" javascript solution
    • 13 months ago

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

  • Custom User Avatar
    • Pensive1
    • commented on "Array.diff" javascript solution
    • 13 months ago

    What would be the optimal solution?

  • Custom User Avatar
    • Nefroz
    • commented on "Fast cooking pancakes" kata
    • 14 months ago

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

  • Custom User Avatar
    • depial
    • commented on "Fast cooking pancakes" kata
    • 14 months ago

    Your self-assurance is admirable. It is also unreasonable.

  • Custom User Avatar
    • Wkilby
    • commented on "Fast cooking pancakes" kata
    • 14 months ago

    Yes i agree the kata is flawed for this. I commented this and others replied telling me i was wrong but i am certain the kata is flawed

  • Custom User Avatar
    • ZeroDarkHardy
    • commented on "Fast cooking pancakes" kata
    • 14 months ago

    Either the wording of the problem is flawed, or the testing batteries are. 4 pancakes (at 2 mins each) on a max-3 pan CANNOT take 3 (shouldn't even be possible to be an odd number, according to the description) minutes to produce 4 cooked pancakes. Whether 4, 5, or 6, you'd need to be running that griddle an additional 2 minutes (total 4) to finish the next 1-3 flapjacks.

  • Custom User Avatar
    • Awesome A.D.
    • commented on "Fast cooking pancakes" kata
    • 14 months ago

    Then hire more pancakes!

  • Custom User Avatar
    • Awesome A.D.
    • commented on "Fast cooking pancakes" kata
    • 14 months ago

    And this is why AI ain't replacing cooks anytime soon. If your cook takes 4 minutes to bake 3 pancakes in a 2-pancake pan, fire them.

  • Custom User Avatar
    • remfan
    • commented on "Fast cooking pancakes" kata
    • 14 months ago

    "There are 3 pancakes and the pan fits 2 so we need to do batches of pancakes in rounds = 3 pancakes / 2 pancakes/batch = 1.5 rounds

    Since we can't cook half a pancake, we round 1.5 rounds up to 2 rounds

    It takes one minute per side and we need to cook two sides so that's 1 minute/side * 2 sides = 2 minutes per pancake

    If we have 2 rounds of pancakes and each pancake takes 2 minutes to cook then it will take 2 rounds * 2 minutes/round = 4 minutes to cook all the pancakes

    So the answer is 4" - Gemini AI (Google AI)

    OP tells us bullshit.

  • Custom User Avatar
    • Pensive1
    • commented on "Is it a letter?" javascript solution
    • 14 months ago

    Wow this is pretty cool. I didn't know JS checks the ASCII values behind the scenes.

    Also, returning the condition itself would work.

  • Custom User Avatar
    • Pensive1
    • commented on "Fast cooking pancakes" kata
    • 14 months ago

    Just wasted my time on this. it seems I'm not the only one who has an issue.

    After understanding the question, I concluded that this is similar to the pagination algorithm.

    1 pancake, 2 pancake limit:

    Math.ceil(1/2) * 2 = 2;
    

    This passed all simple tests. How can 3 be expected? Its not a multiple of 2.
    You can't serve half pancakes. Even if you did, it'll still take a minute on each side.

  • Custom User Avatar
    • Pensive1
    • commented on "Delete occurrences of an element if it occurs more than n times" javascript solution
    • 2 years ago

    I had the same thinking but couldn't articulate it in code. Very clever and readable!

  • Custom User Avatar
    • Pensive1
    • commented on "Sum of Digits / Digital Root" javascript solution
    • 2 years ago

    I like this one. It's easier to read.

  • Custom User Avatar
    • Pensive1
    • commented on "Sum of Digits / Digital Root" javascript solution
    • 2 years ago

    I like this solution but I'm confused ... why 9?

  • Custom User Avatar
    • Pensive1
    • commented on "Split Strings" javascript solution
    • 2 years ago

    This is sweet, understandable and simple!

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...