Leetcode 1159. Market Analysis II
Given timestamped transaction or price records per market, identify markets/days that satisfy a short-term trend or anomaly pattern (e.g., consecutive-day increases or a threshold change). This requires efficient time-window aggregation and pattern detection across sorted data — typically solved with sorting by time plus sliding-window/hash-based counting or SQL window functions for large datasets.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.