4. In a quadratic algorithm, if n is the number that controls the loop, which of the following is the function that defines the number of times the loop is repeated?(A) log n(B) n2(C) n log n(D) log2 n