Count Palindromic Subsequences

Company: Microsoft

Difficulty: medium