← Adobe questions
CodingReported in a candidate post, Jul 2025

Count of smaller numbers after self

Filed under Adobe · Also reported at Sprinklr

Given an integer array nums, return an array counts where counts[i] is the number of elements to the right of nums[i] that are strictly smaller than nums[i].

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

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