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.
holly molly
It's funny how so few people have completed this kata when the description spells out the algorithm for you. I guess people find the math jargon intimidating and run away.
Cool and tricky
Approved at kyu 6:
For which languages? Generatora are not native in many of them.
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.
The solution I tried to implement, but because I didn't know about
cloned()
method had to go with clonning input array into variable -__-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
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
go random tests sometimes expect solution in incorrect order
Approved
Updated to be Go 1.18
Unable to approve, the language version is invalid
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.
No reaction after 3 months, rejected translation.
Loading more items...