We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Reading this part of code, make me see, i must use more specific var names :P . Basicaly you pass an temporary var in [0] and [1] of marksheet it is sorted. And compare if the b value at is equal do second lowest mark, if yes, return and put inside of the "a" in the begining.
PS: Sorry my english
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Nested Lists
You are viewing a single comment's thread. Return to all comments →
Of course!
I just need to know what is the the second lowest mark, if you clean the repeated marks and sort, it always be in the second position ([1]).
Reading this part of code, make me see, i must use more specific var names :P . Basicaly you pass an temporary var in [0] and [1] of marksheet it is sorted. And compare if the b value at is equal do second lowest mark, if yes, return and put inside of the "a" in the begining.
PS: Sorry my english