in GATE retagged by
432 views
3 votes
3 votes

If $T$$\left ( 0 \right )$ $=$ $T$$\left ( 1 \right )$ $=$ $1$, each of the following recurrences for $n$ $\left ( \geq \right )$$2$ defines a function $T$ on the nonnegative integers. Which of the following CANNOT be bounded by a polynomial function?

where Floor$\left ( x \right )$ means $\rightarrow$ the greatest integer that is less than or equal to $x$.

  1. T$\left ( n \right )$ = $3T Floor$$\left ( n/2 \right )$ $+$$n$^$2$
  2. T$\left ( n \right )$ = $T$$\left ( n-1 \right )$$+$ $n$^$2$
  3. T$\left ( n \right )$= $T Floor$ $\left ( 7n/8 \right )$$+ 8n$ $+ 1$
  4. T$\left ( n \right )$ = $2T$$\left ( n-2 \right )$ $+ 1$
in GATE retagged by
by
432 views

1 comment

moved by
@ Bikram,

Can you please explain how to solve this question, i don't even know how to approach such questions.
0
0

1 Answer

2 votes
2 votes

ANS is D)

1.⊝(n^2),3.⊝(n)  by case III of master theorem.

2.⊝(n^3)  by solving recurrence.

4..⊝(2^n)  by solving recurrence.

2 Comments

How do you solve 3rd recurrance?
0
0

Apply Case III of master theorem.

1
1
Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

64.3k questions

77.9k answers

244k comments

80.0k users