I got this questions in Microsoft OA I wonder what the right answers would be :
Given a list of 1000 elements which of the following number is the largest?
A. The number of all possible subses of a given list
B. The number of all possible pairs of elemenst from a given list
C. The number of all possible permutations of a given list
D. 10,000,000,000,000,000
You are given an array with 10^8 elements and you must compute the sum A[J] + A[K] for every possible pair of elements in the array. How long will this computation take on a single mainstream computer?
A: milliseconds
B: seconds
C: minutes
D: hours
E: more than a few hours