GREEDY MOVES DAY 02 – Q1
D2. Prefix-Suffix Palindrome (Hard version) Problem Statement - https://codeforces.com/problemset/problem/1326/D2 The problem was quite straight-forward application of KMP Algorithm. The first thing , we can easily check out for those characters…