项目作者: jonyroy

项目描述 :
Recursion Problems and Solutions
高级语言: Scala
项目地址: git://github.com/jonyroy/recursion.git
创建时间: 2020-07-09T15:24:55Z
项目社区:https://github.com/jonyroy/recursion

开源协议:MIT License

下载


Recursion Problems

Level One Lesson One

1. Write a program to generate Nth Natural Numbers by Ascending Order.

2. Write a program to generate Nth Natural Numbers by Descending Order.

3. Write a program to calculate the sum of numbers from 1 to n.

4. Write a program to find Nth Fibonacci Number.

5. Write a program to count the digits of a given number.

6. Write a program to find the sum of digits of a number.

7. Write a program to find GCD of two numbers.

8. Write a program to get the largest element of an List.

9. Write a program to get the smallest element of an List.

10. Write a program to reverse a string.