LeetCode Question · Aug 2023 · San Francisco

Amazon | OA 2023 | Count k-spikes of stock prices

1 upvote 515 views 5 replies

Question Details

A k-Spike is an element that satisfies both the following conditions: There are at least k elements from indices (0, i-1) that are less than prices[i]. There are at least k elements...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Arrays