On which platform this question is present I want to submit and check :)

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 :slight_smile:
@hetp111 @hello_hell @wicked_knight @mohittkkumar

The problem i have come across, has an additional update character Queries. Can you handle that?

I haven’t seen the exact problem.
1.Palindromic Queries
2.Palindrome queries
You can try these two.

Are there any other general string hashing questions that you can share? I’m very new to string hashing, and I’d like to learn it!

https://codeforces.com/blog/entry/60445

and practice some questions on hackerearth and codeforces (by filtering question using hashing tag )

1 Like

https://codeforces.com/problemset/problem/245/H |s|<=5000

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 :slight_smile:

why ?

bhai ka dil aa gaya hai is question par, Maybe…

3 Likes

haven’t seen the exact question anywhere, sorry…
Many related to this on Hackerrank, but not the one you’re looking for :confused:

I want to submit my solution to check , i thought this question is present on some online judge that’s why i m asking :slight_smile:

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

let’s not be judgemental

4 Likes

Sorry.