Leetcode 3265. Count Almost Equal Pairs I | Hello Interview