yellow.ai interview question

This question was asked https://leetcode.com/problems/count-of-smaller-numbers-after-self/