TCS Interview Question

DSA question on find common elements in two strings