LeetCode

Occurrences After Bigram

Click here for an explanation.