Insi Interview Question

-- Find common nodes. for two given nodes.