https://nicksolonyy.medium.com/leetcode-algorithm-challenges-best-time-to-buy-and-sell-stock-4114caffb5e7