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.
What does this mean?
I propose you use an AI tool to review your descriptions. Most of your sentences are a bit iffy.
You can republish when you're ready to move this kata from a draft state back to a beta state.
Just so we're clear: as long as pigs start to breed before they die (13 days for boars and 14 days for sows), they'll successfully breed a new piglet (and then immediately die)?
The two problems you wrote was all fixed just now
Thank for your notices, i will fix error you said, if you willing, you can help me make description more clear
Fixed
The description is lacking key details and is under-defined. For example, the mechanics for how breeding works isn't entirely clear. Can a boar be 12 days old and still breed with a sow (meaning the boar would technically die during the breeding process), or do we need to factor in the age of death of the pigs before breeding begins? The pig type upon breeding isn't entirely clear either. You say it alternates, but does that mean it alternates globally, or for each new batch of breeding?
sample tests are missing
const {assert} = require('chai');
Fixed first one. Second suggestion is changed to:
Not sure about my suggestion below, but yours doesn't fit the meaning:
:-)
I'll rework the description later today when I've got some time. Back to draft for now.
I could be misunderstanding the description.
For
[{"initial":[10,3,1,3,2],"steps":1,"stan":3,"ollie":1}
, I'm getting[ 9, 3, 3, 3, 3 ]
, but the answer should be[ 9, 3, 2, 3, 3 ]
according to your tests. I'm unsure how the value at index2
is2
when Ollie and Stan's value never change and they're the neighbours (4. If both neighbors have the same cadence, the soldier adopts that cadence.)can someone please explain
fixed and added better assertion messages
Loading more items...