2551. Put Marbles in Bags
2551. Put Marbles in BagsDifficulty: HardTopics: Array, Greedy, Sorting, Heap (Priority Queue)You have k bags. You are given a 0-indexed integer array weights where weights[i] is the weight of the ith...