Motorola Solutions Interview Question: How to find the three biggest... | Glassdoor

Find your next job here

Interview Question

Software Engineer Interview(Student Candidate) Chicago, IL

How to find the three biggest numbers in a list?


Interview Answer

1 Answer


Easiest way is to sort the list with a library function like qsort, then choose the last 3, as they will be in ascending order.

Andrew Lenart on May 27, 2016

Add Answers or Comments

To comment on this, Sign In or Sign Up.