Number of Players (for MTS2)

Number of Players (for MTS2) is a coding interview problem from Nutanix interviews. Given player scores and a cutoff rank k, with tie-aware rankings (e.g., 1,1,1,4), determine how many players level up. Players with score 0 cannot level up. This interview question focuses on interpreting ranking rules and counting qualified players under the given constraints.

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Input Variables
Execution Result: