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.
The second ticket is not a winner because of the requirement: "Note you can only have one mini win per sub array."
i didn't understand why we ceil the result , why can't we just floor it
Oh sorry,
next time I will do it :D
Please use spoiler flag next time. Otherwise your post is visible in the homepage.
This comment is hidden because it contains spoiler information about the solution
This should be solve with O(1) and it is not 5kyu consider the complex Math you have to make here.
This comment is hidden because it contains spoiler information about the solution
6666
膜拜大佬。。。
Why is the "Math.ceil()" method used here?
This comment is hidden because it contains spoiler information about the solution
10nks for answer. and What's this ?
Where can i get this theory and prcatice this topic?
Please, help me understand
The Math.ceil() function in JavaScript is used to round the number passed as parameter to its nearest integer in Upward direction of rounding i.e towards the greater value.
if r=15,return undefined
I'm just learning, but it seems to me that my last solution has O (1) complexity. Or am I wrong ?
Loading more items...