#heap
Read more stories on Hashnode
Articles with this tag
class Solution: def maxAverageRatio(self, classes: List[List[int]], extraStudents: int) -> float: def calcGain(studs, total): ...
class Solution: def findMaximizedCapital(self, k: int, w: int, profits: List[int], capital: List[int]) -> int: # min - heap ...