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.
1e-2
Resolving.
Please see the issue above.
Approved.
Maybe a little bit similar... But this was the condition I was asked about during the technical interview, so I decided to add it. It is a bit similar in terms of the condition, but the logic of returning the result and finding it is slightly different
Added 100 random tests
Expanded the description with clearer examples
Specified in description two cases where the function returns -1: insufficient funds and exceeding the available days of vacation compared to rental days
Enhanced basic examples
Fixed issues causing false positive test results in certain programming languages (e.g., JavaScript)
Added logging of input data (m, k, cost) in case of test failure for better debugging
Also, invalid input is not specified to return
-1
. Insufficient availability is different from insufficient funds; it should be specified separately.( eleven languages while in Beta ?!? )
Resolved in this fork
Fixed in Python
updated to F# 6.0 + NUnit, using tuples
added some time ago
funny how 4 others did it as well
Nice to hear, thank you!
This comment is hidden because it contains spoiler information about the solution
I will write a usual review. the original translator is still around so I won't hijack the translation yet.
I can, later today or tomorrow.
The solution setup looks good, so if you approve and problems are found, tests could be improved without invalidating solutions.
After skimming briefly over the code of tests I did notice one or two WTFs, but nothing what couldn't be fixed after approval.
Loading more items...