How do you find the missing number in a given integer array of 1 to 10?
How do you find the duplicate number on a given integer array?
How do you find the largest and smallest number in an unsorted integer array?
How do you find all pairs of an integer array whose sum is equal to a given number?