Qualcomm Interview Question

Find all missing numbers in an array give most unoptimal solution, optimal solution, hash set