## Skill Subsist Impulse Ltd Interview Question for Developer Program Engineers

Country: India
Interview Type: Written Test

Comment hidden because of low score. Click to expand.
1
of 1 vote

f(1) = 0
f(2) = 2* f(1)+4*f(0)=2+4k
f(3) = 2*f(2)+4*f(1)
= 2(2+4k)+4
= 4+8k+4
= 8+8k
f(4) =2*f(3)+4*f(2)
=2(8+8k)+4(2+4k)
=16+16k+8+16k
= 32k + 24
f(4)=88 means
32k+24=88
32k =64
k= 2

Comment hidden because of low score. Click to expand.
0
of 0 vote

The answer is correct but not the solution.

{{
f(0) = k
f(1) = 1
f(2) = 2 * 1 + 4*f(0) = 2 + 4k
f(3) = 2 * f(2) + 4*f(1) = 2*(2+4k) + 4 = 8k + 4 + 4 =8k + 8
f(4) = 2*f(3) + 4f(2) = 2*(8k + 8) + 4*(2 + 4k) = 16k + 16 + 8 + 16k = 32k + 24 = 88
}}

Comment hidden because of low score. Click to expand.
0
of 0 vote

2

Comment hidden because of low score. Click to expand.
0
of 0 vote

``````f(4) = 2*f(3) + 4*f(2)
f(4) = 2*(2*f(2)+4) + 4*f(2)
f(4) = 8*f(2) + 8
f(4) = 8*(2 + 4*f(0)) + 8
32K + 24 = 88
k = 2``````

Comment hidden because of low score. Click to expand.
0
of 0 vote

K = 2

Comment hidden because of low score. Click to expand.
0
of 0 vote

k=2

Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

### Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

### Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

### Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

### Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More