Here is the problem statement
This problem is one type of a problem which I can't explain. You just need to take pen and paper , draw a few examples and the solution will pump up on your brain. SO If you tried many times and very tired of it I can give you the formula.
Here is the formula
A[N]= ( n*(2*n+1)*(n+2) )/8
This problem is one type of a problem which I can't explain. You just need to take pen and paper , draw a few examples and the solution will pump up on your brain. SO If you tried many times and very tired of it I can give you the formula.
Here is the formula
A[N]= ( n*(2*n+1)*(n+2) )/8
No comments:
Post a Comment