Interviewer And Interviewee Guide
Interviews Quizzes

Aptitude Interview Question:

If G(0) = -1 G(1)= 1 and G(N)=G(N-1) - G(N-2) then what is the value of G(6)?

Submitted by: Administrator
ans: -1

bcoz g(2)=g(1)-g(0)=1+1=2

g(3)=1

g(4)=-1

g(5)=-2

g(6)=-1
Submitted by: Administrator

Read Online Aptitude Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.