Goldman Sachs Interview Report
- 0of 0 votes
AnswersGiven the Function F(N) = F(N-1) + F(N-2), write an efficient implementation. What is the run time?
- Anonymous June 30, 2009| Report Duplicate | Flag | PURGE
Goldman Sachs Software Engineer / Developer Algorithm - 0of 0 votes
AnswersA computer has three registers, A, B and R. It has only three instructions:
- Anonymous June 30, 2009
A->R : Load R with A
B->R : Load R with B
A-R->A : Subtract R from A and store the result in A
Using these instructions how can you do the follwoing?
B->A : Load A with B| Report Duplicate | Flag | PURGE
Goldman Sachs Software Engineer / Developer Algorithm
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.