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.