✅ Python Easy Solution
\nclass Solution:\n    def numRescueBoats(self, people: List[int], limit: int) -> int:\n        people.sort()\n        lo, hi, ans = 0, len(people) - 1, 0\n    
```\nclass Solution:\n    def numRescueBoats(self, people: List[int], limit: int) -> int:\n        people.sort()\n        lo, hi, ans = 0, len(people) - 1, 0\n        while lo <= hi:\n            if people[hi] + people[lo] <= limit: lo += 1\n            hi -= 1; ans += 1\n        return ans\n```
['Python', 'Python3']