Задача LeetCode 2149 https://leetcode.com/problems/rearran...
Решение на python3:
вариант 1 https://github.com/shagtv/leetcode/bl...
вариант 2 https://github.com/shagtv/leetcode/bl...
Решение на swift https://github.com/shagtv/leetcode/bl...
Профиль на LeetCode https://leetcode.com/shagtv/