Leetcode 1338. Reduce Array Size to The Half | Hello Interview