Find indices i < j < k such that a[i] < a[j] < a[k]
Filed under CarWale
The question
Given an array, determine if there exist three indices i, j, k such that i < j < k and a[i] < a[j] < a[k].
No write-up yet. Related questions below have one.
Related CarWale questions
Collected from public candidate posts and coding forums. Updated Nov 2026.