Given two strings (say string A, string B). Write a function that returns string A - string B.
Anónimo
Look at the problem in the following way. both strings A and B are set of characters so you are looking at set difference string set_difference(string a, string b){ map store; string ret; for(int i=0; i symmetric_diff(vector s1, vector s2){ map store; vector ret; for(int i=0; i by a String that should work!! Cheers :)