• ###### jpssjcommented on "Approximate solution of differential equation with Runge-Kutta 4" kata

Approved at kyu 6:

``````{"data":[{"rank":-7,"count":12},{"rank":-6,"count":12},{"rank":-5,"count":3}]}
``````
• ###### akar-0commented on "Approximate solution of differential equation with Runge-Kutta 4" kata

For which languages? Generatora are not native in many of them.

• ###### Ruslan-dev-Free-Firecreated a suggestion for "Approximate solution of differential equation with Runge-Kutta 4" kata

I would prefer to implement the function as a generator, which would allow you to avoid storing all y values in memory and reduce memory consumption when working with large ranges.
The RK4 function does not exit, but saves its state, allowing you to continue obtaining y values in the loop.

``````yield y  # Return the value of y as a generator
``````
• ###### egor7orlovcommented on "Sort Numbers" rust solution

The solution I tried to implement, but because I didn't know about `cloned()` method had to go with clonning input array into variable -__-

• ###### dayanidan007commented on "Candlestick Chart" sql solution

Can you explain this part of the query?
from generate_series((select date_trunc('day',min(createdAt)) from market_data),
(select date_trunc('day',min(createdAt)) from market_data)+'1 day',
'PT00:05:00') as gs(date)
Why did you use a table called generate_series.
I liked your solution the most, so I would be happy to understand it and learn from it

• ###### Stilkindcommented on "Vector addition" sql solution

I was today years old when I learned about unnesting multiple arrays as in this example. It is awesome.
One could also have the where clause for this as t is not null. But that is semantical.
Personally I prefer to not have identical code in select and where clauses, but this solution stays +1

• ###### pa-mcreated an issue for "Primitive Pythagorean Triples" kata

go random tests sometimes expect solution in incorrect order

Approved

• ###### bshorecommented on ""Regular Expression - Check if divisible by 0b111 (7)" Go Translation"

Updated to be Go 1.18

• ###### Mednoobcommented on ""Regular Expression - Check if divisible by 0b111 (7)" Go Translation"

Unable to approve, the language version is invalid

• ###### akar-0resolved a suggestion on "Infix to Postfix Converter" kata

This translation has been rejected because it had no random tests, the reference solution was incorrect, and the author has not reacted several months after it has been pointed out.

• ###### akar-0commented on ""Infix to Postfix Converter" Go Translation"

No reaction after 3 months, rejected translation.

• ###### akar-0commented on ""Strip Comments" Go Translation"

No random tests

• ###### akar-0commented on "Heron's formula" kata

I've dealt with it.

Approved :)