Skip to main content

New answers tagged

3 votes
Accepted

Runtime analysis of Fibonacci series

When analyzing memoized code like this, it is unhelpful to think in terms of recurrences, because you don’t know when the recursive call will actually compute something nontrivial, possibly recursing ...
Emil Jeřábek's user avatar
0 votes

How to cover elements with minimum amount of elements

I have elements from 1 to n and I am trying to cover all of the elements No, you're not. You're trying to cover the continuous interval between the smallest and largest element. You need to improve ...
Reinderien's user avatar

Top 50 recent answers are included