G Element interview question

simple algorithm question like find elements of 1 array that another does not contain. A FSM question and a software design question which are relatively alright to answer.