DSA Advanced Problems

Count Nice Pairs in an Array

Transform a pair condition into a shared hash key.