Count Pairs Of Nodes Leetcode Problems On Strings