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 suggest adding test cases where the date of birth is exactly n years before the current date and is in a leap year
please consider improving the description by providing more specific details. the current instructions are unclear and could be refined for better understanding.
It is ok.
you can print or log the puzzle layout, just code it into an array/list
the random tests do not test for some possible winning positions, was able to submit a faulty solution
wording is too C#-specific (and is probably not an appropriate type for C#)
additionally, description does not state that the given positions are for a knight and a bishop, the description thus does not state what the problem to solve is. those pieces could be pawns for all I know from reading the description
it is also a very strange and indirect way of stating that only two pieces exist on the board
It could instead read something along the lines of:
You will be provided with the positions of a knight and a bishop on a board that is otherwise empty (e.g.
[4, "C"]
and[6, "D"]
).How in the world is this 7 kyu?
😮
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This is a puzzle kata. It's intentionally more tricky than a normal kata and will require you to think outside the box a little.
This is a troll kata, there is nothing to realize except that it is a troll kata. Don't try to find regularitys in the task itsself, you need to look at the tests so get the solution. This is complete bs
half an hour of looking at this bullshit and I am still at a loss as to where the regularity is... I am beginning to think this is just a troll kata
I was gonna do the math for you, but after seeing your C# code, I will simply hint to you that: Step 1 & 2 should be done first & break the loop only in Step 3 - try to count by hand!
this is incorrect. random test can provide numbers of the list in the description itself that are not apple.
69 and 94 are examples that seem to regularly hit errors.
Loading more items...