you give stre s array query queriesi lefti righti ki we rearrange substre sleftirighti query choose ki replace lowercase English letterif substre possible palindrome string operation result query true otherwise result falseReturn boolean array answer answeri result ith query queriesinote letter count individually replacement example sleftirighti aaa ki 2 replace letter also note query modify initial string s Example Input s abcda query 330120031032041output truefalsefalsetruetrueexplanationqueries0 substre d palidromequeries1 substre bc palidromequeries2 substre abcd palidrome replace 1 characterqueries3 substre abcd change abba palidrome also change baab rearrange bacd replace cd abqueries4 substre abcda change abcba palidromeExample 2Input s lyb query 010221output falsetrue Constraints1 slength querieslength 1050 lefti righti slength0 ki slengths consist lowercase english letter