Don’t worry, unlock all articles / blogs on PrepInsta by just simply logging in on our website
Type atleast 3 characters
Popular Searches
Trending Pages
Notifications Mark All Read
No New notification
InfyTQ Menu9>
PREPINSTA PRIME
Get Hiring Updates right in your inbox from PrepInsta
Question 1
O(nlogn), O(logn)
O(logn), O(nlogn)
O(n), O(1)
O(1), O(n)
Start
Question 2
Requires more space
Greater time complexities compared to other searching algorithms
Not easy to understand
Not easy to implement
Question 3
Both execute at the same speed
Linear search(recursive) is faster
Linear search(Iterative) is faster
Can't be said
Question 4
To find the lower/upper bound in an ordered sequence
Union of intervals
Debugging
To search in an unordered list
Question 5
5 and 4
4 and 5
2 and 4
2 and 5
Question 6
The algorithm that uses tape or disk during the sort
The algorithm that uses main memory during the sort
The algorithm that involves swapping
The algorithm that is considered ‘in place’
Question 7
13
14
12
11
Question 8
GCD of two numbers
GCD of more than three numbers
LCM of two numbers
LCM of more than two numbers
Question 9
7T(n/2) + Theta(n^2)
8T(n/2) + Theta(n^2)
7T(n/2) + O(n^2)
8T(n/2) + O(n^2)
Question 10
rand() % (upper – lower)
rand() + lower
(rand()%(upper-lower)) + lower
(rand()%(upper-lower+1)) + lower
Please login to report