Insi interview question

-- Find common nodes. for two given nodes.