Amazon | SDE 2022 New Grad | US
Anonymous User
989
  1. Problem 1 from this thread (https://leetcode.com/discuss/interview-question/1471459/Amazon-OA)
  2. https://leetcode.com/discuss/interview-question/1625460/amazon-oa-find-k-maximum-priority

How the hell do you do Q2? Mine passed 7/15 test cases I generated all subsets. They have huge input constraints. They have research papers on this K maximum stuff and most of it only allows contingous sequences but our Q2 allows non contiguous sequences.

Comments (0)