Paperplanes Interview Question

Python basic algorithm questions from leetcode