← Paytm questions

Find triplet in array

Filed under Paytm · Also reported at CarWale

Given an array of integers, determine if there exists a triplet (i, j, k) such that i < j < k and arr[i] < arr[k] and arr[k] > arr[j].

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 Paytm questions

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