First Occurrences
First Occurrences
// Input:
// s1 = "ZOHOCORPORATION"
// s2 = "PORT"
// Output:
// OHOCORPORAT
// Explaination:
// The index of P in first string is 7, O is 1, R is 6 and T is 11. The largest
// range is 1 – 11.
// So print the characters of the first string in this inex range i.e.
// OHOCORPORAT