• Sign Up
  • Kata
  • Kumite
  • Blog
  • Forum
  • Wiki
  • Leaders
  • Log In
  • Sign Up
Name:Cerbrus
Clan:MyPoi World
Member Since:Sep 2017
Last Seen:Feb 2021
Profiles:
Following:3
Followers:9
Allies:3
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (166)
  • Replies
  • Authored
  • Needs Resolution
    • JavohirTheHacker
    • commented on "Subtract the Sum" javascript solution

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

    • Cerbrus
    • commented on "Count the Monkeys!" javascript solution

    Array(n) creates an array of length n, [...Array(n)] creates an array filled with undefined, of length n.

    • clinzy25
    • commented on "Count the Monkeys!" javascript solution

    Can you explain how you brought an array into the function without 'let arr = []'?

    • F33
    • commented on "Subtract the Sum" javascript solution

    I think, it is a good kata to solve it considering possibility of some chaotic touch in the initial data.
    Lets say, someone has messed up the initial array and all that "apple-promo recursion beauty" is gone.
    I like the kata - though I`ve spent a good 2.5 hrs to tune the loops right so they can work steady.

    • Cerbrus
    • commented on "Subtract the Sum" javascript solution

    The point of a kata is to come up with a clever solution to a problem. The realization that lead to this answer is why this kata was written the way it was.

    • JohanWiltink
    • commented on "Subtract the Sum" javascript solution

    The point of this kata is "this solves the problem". IMO.

    • oepaley
    • commented on "Subtract the Sum" javascript solution

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

    • fizzyelf
    • commented on "Subtract the Sum" javascript solution

    I don't get why this works?

    • guptamohit004
    • commented on "Subtract the Sum" javascript solution

    Concept ?

    • MeemawHustlin
    • commented on "Count Odd Numbers below n" javascript solution

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

    • matt5346
    • commented on "Subtract the Sum" javascript solution

    WTH, facepalm, now we know why it is 8 kyu XD

    • webmintua
    • commented on "Subtract the Sum" javascript solution

    WAT seriously???

    • JohanWiltink
    • commented on "Subtract the Sum" javascript solution

    What's the difference?

    • MarcosSantanna
    • commented on "Subtract the Sum" javascript solution

    That's not a solution, that is just hard coding !

    • mrdulin
    • commented on "Subtract the Sum" javascript solution

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

  • Loading more items...
  • © 2021 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Contact
  • powered by

Confirm

  • Cancel
  • Confirm