Scholarship Student Ranking System
Scholarship Student Ranking System
MediumArrays0% accepted
NSP scholarship portal ranks student applications by eligibility scores. Ravi's system needs to generate rank positions for all applicants based on their scores.
Approach
Given an array of student eligibility scores, return the sorted indices of students ordered from highest to lowest score.
Input
scores=[85,92,78,92]
Output
[1,3,0,2]
More Arrays problems
Browse all coding problems →solution.py
Loading editor...
Test 1
Test 2
Test 3
Press Run to test your custom input, or Submit to judge against all test cases.
Sign in to continue
Create a free account to run code, submit solutions and track progress.
- Free forever — no credit card
- 10+ languages with live execution
- Points, streaks & leaderboards