HackerRank Build a Palindrome Problem Solution
In this post, we will solve HackerRank Build a Palindrome Problem Solution. You have two strings, a and b. Find a string, s, such that: Output FormatFor each pair of strings (a and b), find some s; satisfying the conditions above and print iton a new line. If there is no such string, print -1…
Read More “HackerRank Build a Palindrome Problem Solution” »