Problem Name:
1760. Minimum Limit of Balls in a Bag
Problem Statement:
You are given an integer array nums where the ith bag contains nums[i] balls. You are also given an integer maxOperations.
You can perform the following operation at most maxOperations times:
Take any bag of balls and divide it into two new bags with a positive number of balls.
For example, a bag of 5 balls can become two new bags of 1 and 4 balls, or two new bags of 2 and 3 balls.
Your penalty is the maximum number of balls in a bag. You want to minimize your penalty after the operations.
Return the minimum possible penalty after performing the operations.
Problem Link:
[ Ссылка ]
Solution Link:
[ Ссылка ]
Graph Playlist:
[ Ссылка ]
Java Plus DSA Placement Course Playlist:
[ Ссылка ]
Java Plus DSA Sheet:
[ Ссылка ]
Notes:
[ Ссылка ]
Telegram Link:
[ Ссылка ]
Ultimate Recursion Series Playlist:
[ Ссылка ]
Instagram Handle: (@shashwat_tiwari_st)
[ Ссылка ]
Samsung Interview Experience:
[ Ссылка ]
Company Tags:
Facebook | Amazon | Microsoft | Netflix | Google | LinkedIn | Pega Systems | VMware | Adobe | Samsung
Timestamp:
0:00 - Introduction
Ещё видео!