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.
Approved!
Tried to approve, but getting this error: "Description cannot be approved, recent changes from related record must be merged first."
Do not see the fix on my side can you look on yours?
i
should equal1
, there is no reason to comparearr[0]
to itself.Firstly I tried adding the custom messege to
deepEqual()
, but it still had that message connected to it.So I switched to
strictEqual()
and usedJSON.stringify()
on the actual and expected.I passed a clone of the input to the user's function and calculated the solution outside of the assert.
How would you recommend preventing the user from modifying the input?
Yes they were, it should be fixed now. thanks.
There is an error in the TypeScript Translation intial code is
export const sakuraFall(v: number): number {
// your code here
}
should be
export function sakuraFall(v: number): number {
// your code here
}