Search⌘ K
AI Features

Maximum Performance of a Team

Maximum Performance of a Team asks you to choose at most k engineers, maximizing total speed multiplied by the team's lowest efficiency, and return the result modulo a large prime.

Statement

You are given two integers, n and k, and two integer arrays, speed and efficiency, both of length ...