Showing 3 questions
You are given the speed and efficiency of several engineers. Select a team of at most k engineers to maximize the team's performance, which is calculated as the sum of their speeds multiplied by the minimum efficiency within the team.
#1. Maximum Performance of a Team
You are given two strings of the same length. Determine if you can make them equal by swapping characters at even indices in the first string with characters at even indices in the second, and similarly for odd indices.
#2. Check if Strings Can be Made Equal With Operations II
You are given a rectangular grid representing farmland. Identify and return the coordinates of all rectangular groups of connected farmland cells.
#3. Find All Groups of Farmland