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.
Rejected due to absense of random tests.
Needs random tests.
You should switch
sample test cases
andtest cases
The short singal in this string is 1 unit long
For the long signal (1 * 3 - 2) = 1 is the raw signal ratio penalty
If considered short singal, the average short singal is now 1.333 and if calculate mean square error there would be another penalty
It's just the trade-off between those two penalties, in my own opinion