Hello All,
I have stuck in a problem.
There are set of strings of different length. I have to remove repeated elements from all the strings except from the string in which it appeared first.
For example say the input strings are
"3 4 7 2 15 10"
"5 7 10 2"
"8 36 30 15 4"
"9 10 2 4 11 13 15"
"12 14 10 7 13 17 20 22 21 36"
then after the removal of repeated elements the output should be
"3 4 7 2 15 10"
"5"
"8 36 30"
"9 11 13"
"12 14 17 20 22 21"
Thanks in advance
Rajhans