Python Array Remove First And Last Element Leetcode Problems And Solutions