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.
Highly coding related, with a bit of math.
All rounding problems (about half of the messages) demonstrates that many people can solve the math part but don't know how to code a simple math expression.
It should.
It should be No.1
Investigate f-strings! You'll love them.
for some reason I just couldn't get console.log() to work in Javascript. (Probably something really obvious). Had to use C++ instead. Otherwise a simple and fun Kata.
if the desired height is 4, and the plant grows by 10 everyday, then the plant would reach the desired height on the first day, therefore expected 1.
Honestly while I appreciate the math exercise, this problem has an optimal solution with nothing to do with coding.
This is especially problematic with SQL as people not seeing the pattern can easily get into cte/functions to loop for the answer and I think that would put this exercise way above 7kyu.
Thanks:-)
This comment is hidden because it contains spoiler information about the solution
This is a Kata with really ambiguous wording on what it wants from you.