Salesforce.com Interview Question
144 Interview Reviews |
Back to all Salesforce.com Interview Questions & Reviews
Interview questions and reviews posted anonymously by interview candidates
Interview Question for Senior Software Engineer at Salesforce.com:
Given an NxN matrix, find out the number of ways to get to the NxNth cell from the 1x1 cell...
See more for this Salesforce.com Senior Software Engineer Interview
Helpful Question?
Yes |
No
Inappropriate?
Answers & Comments (2)
{
if(i>N || J>N)
return 0;
if(i==N && j==N)
return 1;
return Recursive(i+1,j) + Recursive(i, j+1);
}
result = Recursive(0, 0);
Helpful Answer?
Yes |
No
Inappropriate?
To comment on this
question,
Sign In with Facebook or
Sign Up
0 of 0 people found this helpful
by Interview Candidate: