Showing 3 of 4 questions
Given an array and a target value, find the maximum possible frequency of an element in the array after performing at most k operations where you can increment any array element by one. The goal is to maximize the count of a single element by strategically incrementing other elements.
#1. Frequency of the Most Frequent Element
You're given a sorted list of prime numbers. Find the k-th smallest fraction that can be formed using any two primes from the list as numerator and denominator.
#2. K-th Smallest Prime Fraction
You're given a list of jobs with start times, end times, and profits. Find the maximum profit you can obtain by scheduling a subset of jobs that don't overlap.
#3. Maximum Profit in Job Scheduling
Page 1 of 1 · 4 total