← MakeMyTrip questions
CodingReported in a candidate post, Aug 2019

Absolute difference of greater elements on left and lesser on right

Filed under MakeMyTrip

Given an array of integers, for each element compute the absolute difference between two counts: the number of elements strictly greater to its left, and the number of elements strictly lesser to its…

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.