Is this your company?
Medium Coding round - Select the top n students based on the mark. Student has id, name, marks as attribute
Anonymous
Created a Student class, implemented a sorting function which sorts based on the mark attribute. Then slicing the first n items.
Check out your Company Bowl for anonymous work chats.