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.
C#: method name should be
PascalCase
(Please refer to implementation of backward compatibility here )C#: method name should be
PascalCase
(Please refer to implementation of backward compatibility here )Description should be language-agnostic
"You can" is not the same thing as "you must". Also, it's not clear what whether "round up" is supposed to represent ceiling or regular rounding.
This comment is hidden because it contains spoiler information about the solution
According to the test description:
"Points inside list don't have to been sorted (any order is valid)."
In Golang, the tests failed when I provided the elements in "any order".
Noice how [3,1] and [2,1] are swapped, as are [1,2] and [3,2]. Otherwise, the arrays are identical.
Expected
<[][]int | len:8, cap:8>: [[1, 1], [2, 1], [3, 1], [1, 2], [3, 2], [1, 3], [2, 3], [3, 3]]
to equal
<[][]int | len:8, cap:8>: [[1, 1], [3, 1], [2, 1], [3, 2], [1, 2], [1, 3], [2, 3], [3, 3]]