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 browsed through a bunch, and im not saying all but many of the very beginer ones contain or are built on some kind of logic that seems incongruent with the excersise. Im getting back into computer science but used to solve problems here when i was in HS around 2015-2016 and remember a similar experience. Not trying to be negative but literally all of the first 3 that i solved since making an account and coming back on here had a similar logical issue, i thought it worth mentioning.
And by 'most' you mean at least 2 out of the 3 you have solved?
hey check out my solution for explanation. Some of the very basic katas are buggy and you have to debug what they are actually asking vs what they label it as asking and then write logical code for yourself that you conciously edit to pass the tests. I dont mind so far but i can see how some beginners would become infuriated here quickly with some of these katas because you have to know enough to spot the logical errors of whoever wrote it so its like a 2-part game
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
You get given the time in hours...
This comment is hidden because it contains spoiler information about the solution
That's fine as long as Nathan isn't using this calculation to determine how much to drink.
Sorry but no. There is no minimum, it says he drinks that ammount and how to round. Not a kata issue.
This comment is hidden because it contains spoiler information about the solution
The instructions says round to the smallest, which equals to round down, so even if it was 1.99999 your code should return 1.
I learned in school that from 0.5 you round up not down ^^
1.5 -> 1
He drinks 0.5 liters per hour and after 3 hours he is supposed t have drank 1 liter? Should it not be 1.5 liters?
please check my decision. Probably i should not use the math modul?
Loading more items...