Skip to content

Latest commit

 

History

History

leetcode-2512-reward-top-k-students

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

leetcode-2512-reward-top-k-students

https://leetcode.com/problems/reward-top-k-students

Type: Classic

Run Code Result

Your input

["smart","brilliant","studious"]
["not"]
["this student is studious","the student is smart"]
[1,2]
2
["smart","brilliant","studious"]
["not"]
["this student is not studious","the student is smart"]
[1,2]
2

Your stdout

[ { score: 3, id: 1 }, { score: 3, id: 2 } ]
[ { score: 3, id: 2 }, { score: 2, id: 1 } ]

Your answer

[1,2]
[2,1]