Rating Tier
Easyconditionals
CodeArena shows a tier badge next to every rating:
| Rating | Tier |
|---|---|
| below 1000 | Bronze |
| 1000 to 1399 | Silver |
| 1400 to 1799 | Gold |
| 1800 to 2199 | Platinum |
| 2200 and above | Diamond |
Given a list of ratings, return the tier for each one, in the same order.
Examples
Input: ratings = [950,1000,1850]
Output: ["Bronze","Silver","Platinum"]
Input: ratings = [2200]
Output: ["Diamond"]