← Amazon questions

Find three decreasing elements at increasing indices

Filed under Amazon

Given an integer array of size n, determine if there exist three indices i < j < k such that A[i] > A[j] > A[k].

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.