← Deutsche Bank questions
CodingReported in a candidate post, Jul 2025

Max absolute difference of smaller-left vs greater-right counts

Filed under Deutsche Bank

For each index i of an array, let L[i] be the number of elements to its left that are strictly smaller than a[i], and R[i] the number of elements to its right that are strictly greater. Return the…

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 Deutsche Bank questions

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