54 votes 54 votes Consider the following functions from positive integers to real numbers: $10$, $\sqrt{n}$, $n$, $\log_{2}n$, $\frac{100}{n}$. The CORRECT arrangement of the above functions in increasing order of asymptotic complexity is: $\log_{2}n$, $\frac{100}{n}$, $10$, $\sqrt{n}$, $n$ $\frac{100}{n}$, $10$, $\log_{2}n$, $\sqrt{n}$, $n$ $10$, $\frac{100}{n}$, $\sqrt{n}$, $\log_{2}n$, $n$ $\frac{100}{n}$, $\log_{2}n$, $10$, $\sqrt{n}$, $n$ Algorithms gatecse-2017-set1 algorithms asymptotic-notation normal + – khushtak asked Feb 14, 2017 • edited Jun 24, 2018 by Shikha Mallick khushtak 17.8k views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply Arjun commented Feb 14, 2017 reply Follow Share 1 is also added: https://gateoverflow.in/tag/gate2017-1?start=30 1 votes 1 votes Abhijit Sen commented Feb 15, 2017 reply Follow Share Hi, if we take n=21024 , then logn gives me 1024, which is greater than 10. So why D won't be the answer? 0 votes 0 votes Hira Thakur commented Jan 3 i edited by Hira Thakur Jan 3 reply Follow Share The same type of concept asked inGATE IT 2008 | Question: 10GATE CSE 2011 | Question: 37,GATE CSE 2021 Set 1 | Question: 3 0 votes 0 votes Jyotiprakash Chanda commented Feb 6 reply Follow Share If 1024 is greater than 10 so logn is greater than 10 which is option B is correct. 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes (B) 100n100n, 1010, log2nlog2n, n−−√n, n akankshadewangan24 answered Jun 19, 2017 akankshadewangan24 comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes In this problem, they are expecting to find us “increasing order of asymptotic complexity”. Step-1: Take n=2048 or 211 (Always take n is very big number) Step-2: Divide functions into 2 ways 1. Polynomial functions 2. Exponential functions Step-3: The above functions are belongs to polynomial. So, simply substitute the value of n, First compare with constant values. → 100 / 2048 = 0.048828125 → 10 > 100/ 2048 → log2 2048 =11 → √n = 45.25483399593904156165403917471 → n = 2048 So, Option B is correct varunrajarathnam answered Aug 8, 2020 varunrajarathnam comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes 100/n < 10 < log2 n < √n < n prithvish111 answered Oct 24, 2020 prithvish111 comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes according to the increasing order of complexitites it is clear that Constant < < logn < < n^(1/2) < < n So the conflict is in between 100/n and 10 here for values n <= 9, 10 < 100/n but the question is about positive integers to real numbers so this section from 1 to 9 is <<<<« than positive integers so option B will be correct ProtonicRED answered Jan 5, 2022 ProtonicRED comment Share Follow See all 0 reply Please log in or register to add a comment.