Interview Questions

There are two string array with some uniqueue srings........

Software QA/Tests Interview Questions from Microsoft


(Continued from previous question...)

There are two string array with some uniqueue srings........

Q:
Microsoft Interview Question for SDE in tests
There are two string array with some uniqueue srings. Need to find out first arry uniqueue values in the 2nd array.

S1={"Albert","Matt","Jackson","Steve","Ven"}
S2={"Kelos","Dragi","Matt","Ven","Possi"}
Answer={"Matt","Ven"}

Please provide us O(n) solution to the above.
6

(Continued on next question...)

Other Interview Questions