leetle

Daily challenge for 2025-04-28

118. Find All Numbers Smaller Than Current

Write a function solve that returns an array where each element is the count of numbers smaller than the current number.

Example:
Input: [8,1,2,2,3]
Output: [4,0,1,1,3]

Run this challenge interactively in Python or JavaScript when the app loads.