Sollicitatievraag bij IBM

A method takes two string argument and returns two string one string with characters that matches another that does not match(with time and space complicity)