Correct Answer: 44
Explanation:
Loading...
Correct Answer: 44
Explanation:
Take your GATE-CS preparation to the next level. Practice with full-length mock tests, get instant results, and track your progress with detailed analytics.
Browse GATE-CS Test SeriesConsider an array A of integers of size n. The indices of A run from 1 to n. An algorithm is to be d…
Consider the following functions, where n is a positive integer:n^(1/3), log(n), log(n!), 2^(log(n))…
Given an integer array of size N, we want to check if the array is sorted (in either ascending or de…
Let f and g be functions of natural numbers given by f(n) = n and g(n) = n^2. Which of the following…
Function 1: while n>1 do { for i=1 to n do x=x+1; n=n/2 }. Function 2: for i=1 to 100*n do x=x+1. Le…
Which one of the following statements is TRUE for all positive functions f(n)?