need help to solve the requirement

  • Thread starter Thread starter Sai Pranav
  • Start date Start date
S

Sai Pranav

Guest
I have 2 strings


for ex: str1 is ABC and str2 is BC . The result should come as an array by returning A in 1st one empty as the second one because BC exist in str1 and str2

ex2 : str1 BC str2 is BANGALORE. OP should be in array 1st one is C and 2nd one is ANGALORE because B exist in both.

Continue reading...
 
Back
Top