Clarification for Exam question 1a

We need

"the manager such that the number of managers who processed a greater number of orders in 2020 than this manager is the same as the number of managers who processed a smaller number of orders."

Each manager processed some number of orders in 2020.
So, for each manager M there are some managers M1 that processed more orders than M, and some managers M2 that processed less orders than M.
Manager M should be returned if the number of M1's is the same as the number of M2's.

Egor
 

Published June 16, 2021 9:30 AM - Last modified June 16, 2021 9:30 AM