GATE Exam  >  GATE Questions  >   Assume that the time complexity of the most ... Start Learning for Free
Assume that the time complexity of the most efficient algorithm to find the median in a list of n characters is θ(n logn). It is experimentally found that, when this algorithm is made to run on a list of 16 elements, it takes 256 units of time respectively. Then the time taken by this algorithm when the input list contains 64 elements is _______.
Correct answer is '1536'. Can you explain this answer?
Verified Answer
Assume that the time complexity of the most efficient algorithm to fi...
Given, T(n) = θ(n logn) = c.nlog n
Now, T(16) = 256 units
Therefore, c.16.log (16) = 256
⇒ c = 4
Now we have to find T(64).
T(64) = 64.c.log (64)
Substitute the value of c and solve the equation to get
T(64) = 1536 units
View all questions of this test
Explore Courses for GATE exam
Assume that the time complexity of the most efficient algorithm to find the median in a list of n characters is θ(n logn). It is experimentally found that, when this algorithm is made to run on a list of 16 elements, it takes 256 units of time respectively. Then the time taken by this algorithm when the input list contains 64 elements is _______.Correct answer is '1536'. Can you explain this answer?
Question Description
Assume that the time complexity of the most efficient algorithm to find the median in a list of n characters is θ(n logn). It is experimentally found that, when this algorithm is made to run on a list of 16 elements, it takes 256 units of time respectively. Then the time taken by this algorithm when the input list contains 64 elements is _______.Correct answer is '1536'. Can you explain this answer? for GATE 2024 is part of GATE preparation. The Question and answers have been prepared according to the GATE exam syllabus. Information about Assume that the time complexity of the most efficient algorithm to find the median in a list of n characters is θ(n logn). It is experimentally found that, when this algorithm is made to run on a list of 16 elements, it takes 256 units of time respectively. Then the time taken by this algorithm when the input list contains 64 elements is _______.Correct answer is '1536'. Can you explain this answer? covers all topics & solutions for GATE 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Assume that the time complexity of the most efficient algorithm to find the median in a list of n characters is θ(n logn). It is experimentally found that, when this algorithm is made to run on a list of 16 elements, it takes 256 units of time respectively. Then the time taken by this algorithm when the input list contains 64 elements is _______.Correct answer is '1536'. Can you explain this answer?.
Solutions for Assume that the time complexity of the most efficient algorithm to find the median in a list of n characters is θ(n logn). It is experimentally found that, when this algorithm is made to run on a list of 16 elements, it takes 256 units of time respectively. Then the time taken by this algorithm when the input list contains 64 elements is _______.Correct answer is '1536'. Can you explain this answer? in English & in Hindi are available as part of our courses for GATE. Download more important topics, notes, lectures and mock test series for GATE Exam by signing up for free.
Here you can find the meaning of Assume that the time complexity of the most efficient algorithm to find the median in a list of n characters is θ(n logn). It is experimentally found that, when this algorithm is made to run on a list of 16 elements, it takes 256 units of time respectively. Then the time taken by this algorithm when the input list contains 64 elements is _______.Correct answer is '1536'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Assume that the time complexity of the most efficient algorithm to find the median in a list of n characters is θ(n logn). It is experimentally found that, when this algorithm is made to run on a list of 16 elements, it takes 256 units of time respectively. Then the time taken by this algorithm when the input list contains 64 elements is _______.Correct answer is '1536'. Can you explain this answer?, a detailed solution for Assume that the time complexity of the most efficient algorithm to find the median in a list of n characters is θ(n logn). It is experimentally found that, when this algorithm is made to run on a list of 16 elements, it takes 256 units of time respectively. Then the time taken by this algorithm when the input list contains 64 elements is _______.Correct answer is '1536'. Can you explain this answer? has been provided alongside types of Assume that the time complexity of the most efficient algorithm to find the median in a list of n characters is θ(n logn). It is experimentally found that, when this algorithm is made to run on a list of 16 elements, it takes 256 units of time respectively. Then the time taken by this algorithm when the input list contains 64 elements is _______.Correct answer is '1536'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Assume that the time complexity of the most efficient algorithm to find the median in a list of n characters is θ(n logn). It is experimentally found that, when this algorithm is made to run on a list of 16 elements, it takes 256 units of time respectively. Then the time taken by this algorithm when the input list contains 64 elements is _______.Correct answer is '1536'. Can you explain this answer? tests, examples and also practice GATE tests.
Explore Courses for GATE exam
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev