Create Quiz

Median of two sorted arrays quiz question

Median of two sorted arrays quiz question

Case 1: m+n is odd, the median is at (m+n)/2 th index in the array obtained after merging both the arrays Quiz

You can mute/unmute sounds from here

You May Get Result Of Median of two sorted arrays quiz question

Median of two sorted arrays quiz question
Median of two sorted arrays quiz question
Median of two sorted arrays quiz question
Median of two sorted arrays quiz question
POST YOUR ANSWER (READ ANSWERS)

Quiz Questions And Answers

If each node in a tree has value greater than every value in its left sub tree and value less than every value in its right sub tree, the tree is known as

complete tree
full binary tree
binary search tree
None

Which of the following sorting procedure is the slowest?

Quick sort
Heap sort
Both
None

which of the following shows the correct relationship among some of the more common computing times on algorithms

O(log n) < O(n) < O( n* log n) < O(2n) < O(n2)
O(n) < O(log n) < O( n* log n) < O(2n) < O(n2)
O(n) < O(log n) < O( n* log n) < O(n2) < O(2n)
O(log n) < O(n) < O( n* log n) < O(n2) < O(2n)

The average time required to perform a successful sequential search for an element in an array A(1..n) is given by

(n+1)/2
n(n+1)/2
log n
None

the time complexity of linear search algorithm over an array of n elements is

O(log n)
O(n)
O( n log n)
None

the time taken by binary search algorithm to search a key in a sorted array of n elements is

O(log n)
O(n)
O( n log n)
O(n2)

the time required to search an element in a linked list of length n is

O(log n)
O(n)
O( 1)
O(n2)

the worst case time required to search a given element in sorted linked list of length n is

O(1)
O( log n)
O(n)
None
ANSWERS

Currently, we have no comments. Be first to comment on this quiz.

Median of two sorted arrays quiz question : Test Trivia

Ultimate impossible accurate personality honest Quiz Game

How do you rate this quiz?

Average rating 4.8 / 5. Vote: 5
Embed This Quiz
Copy the code below to embed this quiz