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.
C++ Translation.
help please- i have literally no clue what im doing- can someone explain how to get started please
recipe: {("oil", 100), ("sugar", 150), ("milk", 100), ("flour", 300), ("apples", 3)}
available: {("apples", 15), ("milk", 2000), ("flour", 2000), ("oil", 20), ("sugar", 500)}
Expected: equal to 0
Actual: 3
But I tried to test my code in VScode. It output 0, but the KATA output 3. I don't know why.
OCaml translation (author gone)
C++ translation wanted.
PHP translation
This comment is hidden because it contains spoiler information about the solution
C# Translation.
What's the fun of using a permutation library? I believe that the biggest gain here is learning to make permutations in the "hand".
The kata requires that when 2 teams have the same ranking the team with the lower id is prefered, this however is not how the random results are implemented, leading to issues where sometimes they are not equivelent to the corect answer aka the query will place teams with the same ranking in random order. So you might need to re run it a couple times even if the solution is correct. Other than that great kara
MY NOTES:
Simple test case is missing (Should write by yourself) and also all tests support inner function which only takes maximum two arguments...
Arguments can be an object, and can be no argument...
This comment is hidden because it contains spoiler information about the solution
CoffeeScript translation
This comment is hidden because it contains spoiler information about the solution
The description is unclear. It's a lot easier to solve it with this instructions:
A year is a leap year if the following conditions are satisfied:
Loading more items...