Count Smaller After Self
Khó⚡ Thuật toán 5000ms 256MB
Count Smaller After Self
Đề bài
Đếm phần tử nhỏ hơn ở bên phải.
Ví dụ
Ví dụ 1:
Input: [5,2,6,1]
Output: [2,1,1,0]
Ràng buộc
- Dữ liệu đầu vào luôn hợp lệ
Case 1
Input = [5,2,6,1]
Output = [2,1,1,0]