← Walmart questions

Max absolute difference of counts

Filed under Walmart

Given an array of integers, for each element at index i, find the absolute difference between the count of elements to its left that are strictly greater than it, and the count of elements 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 Walmart questions

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