Zoho Coding Question

Given two sorted arrays, merge them such that the elements are not repeated

Input
Array 1 : 2, 4, 5, 6, 7, 9, 10, 13
Array 2 : 2, 3, 4, 5, 6, 7, 8, 9, 11, 15
Output
2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15


Zoho Coding Question

Given a string which contains more than one palindrome. Split it and print one by one

Input
civicradarlevel

Output
civic
radar
level