2418. Sort the People Обновлено: 2024-03-12 1 мин Algorithms , LeetCode СодержаниеLeetCode problem 2418class Solution: def sortPeople(self, names: List[str], heights: List[int]) -> List[str]: return [name for _, name in sorted(zip(heights, names), reverse=True)]