Question Details
Problem You are given a list of daily prices for a product and a window size w. For each day i >= w-1, compute the minimum price seen in the window [i-w+1, i]. Return an array of these rolling minimums. Example Brute force is O(n*w). Expected solutio…
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Coding
Onsite
Phone