maxProfit = (prices) => {
    const tabu = initTabu(prices);/* Space O(N) */

    search(prices, tabu);/* Time O(N * N) */

    return tabu[0];
}
DP - Bottom Up
Array - Tabulation
Time O(N^2) | Space O(N)
https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown/
@param {number[]} prices
@return {number}