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.
Add the following test, to verify if it works with bigger numbers:
a = [1200000000, 150000000000,313456445]
b = [[2, 151200000000], [3, 151200000000], [5, 151513456445], [62691289, 313456445]]
test.assert_equals(sum_for_list(a),b)
Este caso no funciona para Numeros Muy Grandes.
a = [1200000000, 150000000000,313456445]
test.assert_equals(sum_for_list(a), [[2, 151200000000], [3, 151200000000], [5, 151513456445], [62691289, 313456445]])
Revisar mi Solucion
Ok
Me parece que El algortimo optimo de este ejercicio debe de ser de Orden N^2.
En mi solucion trate de que ello se cumpliera.
Muy Buena Kata.