Paycom interview question

1) Write a code to print first non-repeating characters from two strings 2) Write code to print common characters from two string