Problem
Given an array of daily sales data, write a function to determine the maximum profit window for purchasing and selling inventory.
You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.


