Minimal steps down to 1: Difference between revisions
m
→{{header|Julia}}
Line 187:
=={{header|Julia}}==
Implemented as a generic solution for any functions acting on an integer and taking any range of second arguments, with the goal solution also specifiable. To do so generically, it is also necessary to specify a failure condition, which in the example is falling below 1.
<lang julia>import Base.print
Line 200 ⟶ 202:
end
memoized = Dict{Int, Int}()
|