MagicBricks interview question

How to get the top marks from table school.