Best Time to Buy and Sell Stock with Cooldown - Medium Python 2-D Dynamic Programming Interview Problem | Unnested