Search⌘ K
AI Features

Maximum Performance of a Team

Maximum Performance of a Team gives each engineer a speed and efficiency. Choose at most k engineers to maximize total speed times the team's minimum efficiency, modulo a large prime.

Statement

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