Leetcode 2669. Count Artist Occurrences On Spotify Ranking List
Given an array representing a Spotify ranking list of artist names and a target artist (or multiple query artists), return how many times the artist appears in the list — essentially a frequency-counting problem over an array, optionally extended to support multiple queries or range-limited counts.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Your account is free and you can post anonymously if you choose.