You need to sign in or sign up before continuing.×
Loading collection data...
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.
I understood nothing about the problem at all. What is availableweekdays ? No wonder I do not understand any of the solutions. I did not get the problem statement itself.
Wow ! I wonder if this solution would come to someone's mind if the tests were not visible.
What do you call "pre" here ? I see this is a reverse take on the accumulator in
reduce
.why is this best practice if the sum 5050 is hard coded ? isn't a more general solution wherein the sum for the first 100 positive integers 0 included is calculated first the way to do it ?
the manager has an increment waiting for you for delivering such understandable code .
always tend to get stuck on katas by g964 so much so that everytime i see their question , I go - 'argh, here we go again' . great exercise for the gray matter :D
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Why don't I see a "cheating" button here 😜😂
Yes, you are correct.
bad man
See 0lexa's explanation below for the sumin .
All these upvotes are surely made jokingly right? But why ! 🤔
Loading more items...