can somebody give an efficient algorithm for this string manipulation function. 
 
Concat two strings s1,s2 in which some last char's of s1 are same as the first few char's of s2 and we don't know how many. Write efficient code to concatanate these 2 strings so that the redundant char's appear just once. eg.
 
s1="   india pakis";
s2="kisme not"; 
 
should give me ="   india pakisme not" on concatenation....
 
regds,
Anubhav
 

Reply via email to