Question 1
Question 1
Question 1
Input Format
Constraints
Output Format
Sample Input
5433231
3
Sample Output
3
Explanation
number.
Question 2- Print the reverse
Take N as input, Calculate it's reverse also Print the reverse.
Input Format
Constraints
Output Format
Sample Input
123456789
Sample Output
987654321
Explanation
the reverse.
Enter an integer n
Constraints
0<=n<=1000000000000
Output Format
Sample Input
102
Sample Output
152
Explanation
Question 4--Fibonacci
Take N as input. Print Nth Fibonacci Number, given that the first two numbers in the
Fibonacci Series are 0 and 1.
Input Format
Constraints
0 <= N <= 1000
Output Format
Sample Input
10
Sample Output
55
Explanation
Input Format
Constraints
Output Format
Sample Input
2635
Sample Output
11
5
Explanation