GlobalLogic Interview Question

How to find n'th largest element in a list?

Interview Answer

Anonymous

Mar 4, 2022

You are not supposed to say, sort the list and find by index. That is valid real life code you will use right, they wont accept it. They want you to come up with logic with 10 if condition and 15 else condition.

1