Apple Interview Question

Write an algorithm to find missing and extra numbers in a known set