InterviewSolution
Saved Bookmarks
| 1. |
Which of the following option is wrong about natural numbers?(a) Sum of first n natural numbers can be calculated by using Iteration method(b) Sum of first n natural numbers can be calculated by using Recursion method(c) Sum of first n natural numbers can be calculated by using Binomial coefficient method(d) No method is prescribed to calculate sum of first n natural numberI got this question during an interview.The origin of the question is Sum of n Natural Numbers using Recursion in section Recursion of Data Structures & Algorithms II |
|
Answer» The CORRECT option is (d) No method is prescribed to CALCULATE sum of first n natural number |
|