Leetcode 3379. Transformed Array | Hello Interview