• ###### sli4commented on "Product of consecutive Fib numbers" python solution

I also stored waaaaay too much data.. I spent way too much time on the math for this one too.

• ###### leigaoyicommented on "Diophantine Equation" kata

The order of results requirese on xi

• ###### MikaelCallcommented on "Calculate the distance of two points in N dimensions" kumite

It is bad practice to create a list in the sum function. A generator will not allocate memory. Also, I find x and y to be better names for points in this, i.e. math, domain.

• ###### michael_bcommented on "Say hello!" kumite

Someone makes a Kumite and has a requirement eg. "Turn a string into hexadecimal" and players can submit code in response to other code to improve it by either making it more concise and/or faster. May the best code win

• ###### leigaoyicommented on "Common Denominators" kata

My solution has a problem about round() when the input number is very large.

• ###### uncompiledcommented on "Print Hello world From Lists: Beginner's way" kumite

This is how I would do it, as it is more declarative vs. iterating over the list and building a string.

• ###### leigaoyicommented on "Regex Password Validation" kata

View these discussions, I have better understanding what the author wants.
The regular expression. I will have a try.

• ###### leigaoyicommented on "Calculate the distance of two points in N dimensions" kumite

Using package not in the standard python library like numpy, to test others is not very good.
I think we come here to train language , not the special library.

• ###### leigaoyicommented on "Say hello!" kumite

How to play Kumite, I don't understand.

• ###### leigaoyicommented on "Gap in Primes" kata

If adding the gap between the nearnest primes, I will have better understanding.
When I view the solution, I find that I miss the author says. And find two primes between
m and n with gap g, regadless whether they are near to each other.

• ###### leigaoyicommented on "Product of consecutive Fib numbers" python solution

Just wonderful, I store too much data. But what this keta need is just two numbers!

• ###### leigaoyicommented on "Extract the domain name from a URL" kata

The same, maybe the author leave the chance to write tests to us

• ###### leigaoyicommented on "Build a pile of Cubes" kata

The same problem, 450010 should equal -1