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 don't see how this could be considered "Best Practice" or "Clever".
It needs
O(n*logn)
in time to do something that could be done inO(n)
I don't see how this could be considered "Best Practice" or "Clever".
It needs
O(n*logn)
in time to do something that could be done inO(n)
It's a broken solution!
MCDXLIII
is1443
but yoursolution("MCDXLIII")
is1663
because while reducing,
(1000+100)>500
while you thought that100<500
This comment is hidden because it contains spoiler information about the solution
Here C.
3rd test expects 80 but result is 81.