F( X , Y )
X – Y | x < 0 |
X – Y | y < 0 |
f(x-1,y) + f(x,y-1) | else |
C( N , R )
1 | N == R |
C (N,N) | R == 0 |
C (N-1,R-1) + C (N-1,R) | R > 0 |
0 | else |
Remember you can access array values with ‘First and ‘Last
i.e. A’First and A’Last
F( X , Y )
X – Y | x < 0 |
X – Y | y < 0 |
f(x-1,y) + f(x,y-1) | else |
C( N , R )
1 | N == R |
C (N,N) | R == 0 |
C (N-1,R-1) + C (N-1,R) | R > 0 |
0 | else |
Remember you can access array values with ‘First and ‘Last
i.e. A’First and A’Last