Leetcode 2341. Maximum Number of Pairs in Array | Hello Interview