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.
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 comment is hidden because it contains spoiler information about the solution
variance() looks like O(n^2) due to extra parsing of data for each double in Math.pow(m - mean(town, strng), 2).
it might be better to reuse the parsing result like this https://www.codewars.com/kata/reviews/56a3357905e63c432c000076/groups/60ba42dba547be0001dfa499
it have O(n*n), because sums recalculated for every element of array. and algorithm can't stop on right answer
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 comment is hidden because it contains spoiler information about the solution