Rosetta Problems

Count the Number of Arrays with K Matching Adjacent Elements

https://leetcode.com/problems/count-the-number-of-arrays-with-k-matching-adjacent-elements