Magnetic Force Between Two Balls at Roblox
Medium71.9% acceptance
This problem has 75.0% frequency at Roblox.
Problem Description
In the universe Earth C-137, Rick discovered a special form of magnetic force between two balls if they are put in his new invented basket. Rick has `n` empty baskets, the `ith` basket is at `position[i]`, Morty has `m` balls and needs to distribute the balls into the baskets such that the **minimum...
Read full problem and hintsTopics
Also asked at 9 companies
More Roblox Questions
Reorganize StringMediumTask SchedulerMediumText JustificationHardMaximize Distance to Closest PersonMediumNumber of Ways to Wear Different Hats to Each OtherHard
View all Roblox questions