https://franciscaerush.blogspot.com/2022/05/unique-k-alphabet-dp-given-string-of.html