Задача LeetCode 576 https://leetcode.com/problems/out-of-...
Решение на python3
рекурсия - https://github.com/shagtv/leetcode/bl...
итеративное решение - https://github.com/shagtv/leetcode/bl...
Профиль на LeetCode https://leetcode.com/shagtv/