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.
Why this kata could be positive as training and could / should be approved:
1️⃣ Skill Improvement: This kata offers an excellent opportunity to improve programming and logic skills. It challenges you to implement the logic of the goalkeeper's movement in a soccer game, which will help you strengthen your problem-solving abilities.
2️⃣ Practical Application: The challenge is based on a real situation in a soccer video game. Passing this kata will allow you to understand and apply the concepts of goalkeeper movement in a practical context.
3️⃣ Clear conditions: The statement provides clear and specific rules for the movement of the goalkeeper in relation to the position of the ball. This allows you to have a clear and defined goal when implementing the feature.
4️⃣ Linear scale: The kata is based on a linear scale where the position of the goalkeeper and the ball are represented by numbers. This provides a simple and understandable context to address the challenge.
5️⃣ Rust programming language: The kata is designed to be solved in the Rust programming language. Passing it will allow you to practice and improve your skills in this particular language, which is valuable in the field of programming.
Tests. It has tests. It is indeed a very useful point.
Andrew seems to be right
In PHP some tests expect a descending duplicates array:
Failed asserting that two arrays are equal.
Expected: Array (
0 => 4
1 => 3
2 => 1
)
Actual : Array (
0 => 1
1 => 4
2 => 3
)
And others expect to return the duplicates array with the ocurrences order:
Failed asserting that two arrays are equal.
Expected: Array (
0 => 4
1 => 2
2 => 6
)
Actual : Array (
0 => 6
1 => 4
2 => 2
)
A Java kata with which makes you think 🤔👍 https://www.codewars.com/kata/5e477a54406d360001bc10f6/java
Would you solve it?‽
Yes, you are right, FArekkusu. I have added the needed imports for the example tests.
Interesting answer
Interesting answer 👌
This comment is hidden because it contains spoiler information about the solution
👍👍👍🎁
👌
🤯
💡
Beautiful answer 🌺✨
This comment is hidden because it contains spoiler information about the solution
First time I see Supplier interface: https://www.geeksforgeeks.org/supplier-interface-in-java-with-examples/
Loading more items...