← MakeMyTrip questions
CodingReported in a candidate post, Jul 2022

Largest smaller element on left

Filed under MakeMyTrip

Given an array of integers, for each element, find the largest element on its left side that is strictly smaller than the current element. If no such element exists, output -1 for that position.

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

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