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.
Is not a very useful message!
This comment is hidden because it contains spoiler information about the solution
Look at B4B's modules forbidder.
sort
.There are annoying deprecation messages :
The last two sample tests need to be changed :
n_vals = [[1, 0], [2, 3], [3, 18], [4, 60], [5, 150], [342, **420115062**], [56753, **386209565**]]
Cool one!
Another curious number :
496
, there are so few....
(
python
)The sample tests require a function named
pareto
and the expected output is a list of listThe submissions tests (also in the description) require a function named
pareto_front
whereas the expected output is a set of tuples.Th domination criteria is not explicit Wiki:
An allocation
{x_{1},\dots ,x_{n}}
, wherex_{i} in R^{k}
for alli
, is Pareto-optimal if there is no other feasible allocation{x_{1}',... ,x_{n}'}
where, for utility functionu_{i}
for each agenti
,u_{i}(x_{i}') >= u_{i}(x_{i})
for alli in {1, ... ,n}
withu_{i}(x_{i}') > u_{i}(x_{i})
for somei
Certainly not now but I made this suggestion before the kata got approved.
You are import
pyramid
but the initial solution uses a function namedPyramid
Nice idea, but the returned index should be
0-based
#
,0
padding, etc.)No random tests : Link
y
is not considered a vowel_
a punctuation markAction Algorite
, maybe you thoughtAlgorithm
Loading more items...