Profit from Many Trades
Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.
The problem
- easy
- Pro
Given a share's price on each day, find the most profit you can make if you may buy and sell as many times as you like, but hold at most one share at a time.
Talk this problem through with an AI coach
This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.