πŸ“Š Design and Analysis of Algorithms
Q. Which of the following methods can be used to find the sum of digits of a number?
  • (A) recursion
  • (B) iteration
  • (C) greedy algorithm
  • (D) both recursion and iteration
πŸ’¬ Discuss
βœ… Correct Answer: (D) both recursion and iteration

Explanation: both recursion and iteration can be used to find the sum of digits of a number.


Explanation by: Mr. Dubey
both recursion and iteration can be used to find the sum of digits of a number.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
532
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
96%
Success Rate