Re:Data structures and algorithms I actually used while work...
by jlokier on Wednesday July 15, 2020 @02:49PM
(#23849844)
If the question is "generate the Nth number in the series", I would be inclined to suggest a closed-form solution that returns in O(1) time (assuming regular size integers), no iteration required.
[ Parent
| on HN ]
There are no comments on this comment yet.