Skip to content

Time Complexity and Recurrences — ISRO Scientist/Engineer CSE PYQs

Time Complexity and Recurrences is a topic in Algorithms. GateIQ has published 12 ISRO Scientist/Engineer CSE questions under it — 19.7% of the Algorithms questions, and 12 of them carry a written solution.

Try Time Complexity and Recurrences PYQs free

Attempt the 5 most recent published questions on this topic right here, with the answer and its explanation after each check. No account is needed and nothing is saved. Answers and explanations are study aids, not an official answer key.

0 of 5 checked
  1. 1Previous year question

    What is the complexity of the following code?

    sum=0;
        for(i=1;i<=n;i*=2)
             for(j=1;j<=n;j++)
                sum++;

    Which of the following is not a valid string?

    Choose an option to check it.
  2. 2Previous year question

    The running time of an algorithm is given by:

    T(n)=T(n−1)+T(n−2)−T(n−3)T(n) = T(n-1) + T(n-2) - T(n-3), if n>3n > 3

    = nn, otherwise

    Then what should be the relation between T(1),T(2),T(3)T(1), T(2), T(3), so that the order of the algorithm is constant?

    Choose an option to check it.
  3. 3Previous year question

    Consider the following C code segment

    int f(int x)
    {
        if(x<1) return 1;
        else return (f(x-1)+g(x));
    }
    int g(int x)
    {
        if(x<2) return 2;
        else return (f(x-1)+g(x/2));
    }

    Of the following, which best describes the growth of f(x)f(x) as a function of xx ?

    Choose an option to check it.
  4. 4Previous year question

    The recurrence relation that arises in relation with the complexity of binary search is:

    Choose an option to check it.
  5. 5Previous year question
    //Consider the program
    void function(int n)
    {
        int i,j,count=0;
        for(i=n/2;i<=n;i++)
           for(j=1;j<=n;j=j*2)
              count++;
    }

    The complexity of the program is

    Choose an option to check it.

7 more questions on Time Complexity and Recurrences

These 5 are free to try without an account. Create a free account to practise the rest of the Time Complexity and Recurrences questions with structured solutions, and to keep your progress.

Time Complexity and Recurrences: questions people ask

How many ISRO Scientist/Engineer CSE questions are asked on Time Complexity and Recurrences?

GateIQ has published 12 ISRO Scientist/Engineer Computer Science previous year questions on Time Complexity and Recurrences, and 12 of them carry a written solution. That is 19.7% of the Algorithms questions.

Which subject is Time Complexity and Recurrences part of?

Time Complexity and Recurrences is a topic of Algorithms in the ISRO Scientist/Engineer Computer Science question archive.

Can I practise Time Complexity and Recurrences PYQs for free?

Yes. The 5 most recent published questions on this topic are free on this page with no signup. A free ISRO IQ account lets you practise the rest with structured solutions and keeps your progress.

Related topics in Algorithms

All Algorithms questions · All ISRO subjects