Queries to check if substring[L…R] is palindrome or not
Given a string str and Q queries. Every query consists of two numbers L and R . The task is to print if the sub-string[L…R] is palindrome or not.
Input: str = “abacccde”, Q[][] = {{0, 2}, {1, 2}, {2, 4}, {3, 5}} Output:
Yes
No
No
Yes
On which platform this question is present i want to submit my solution can anyone help me to find out ?
PS : This is from GFG I know …but I want to check my code @hetp111@hello_hell@wicked_knight@mohittkkumar
I saw this question already het …I need exact above question if it is present on somewhere …on chinese online judge or acmp.ru , timus , spoj or any other platform