Given a string, determine whether its second half is a palindrome. For strings of odd length n, the second half is defined as the substring starting from index floor(n/2) to the end of the string…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.