Question d’entretien chez ShopBack

Palindromic subsequence in finding the inputted substring