You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To make the search for the n-th price in O(log(n)) time instead of O(n), compute the transition for n=1, then use it twice to compute the transition for n=2, then use it twice to compute the transition for n=4, etc until 2^23.
To make the search for the n-th price in O(log(n)) time instead of O(n), compute the transition for n=1, then use it twice to compute the transition for n=2, then use it twice to compute the transition for n=4, etc until 2^23.