Introduction to Recursion

8 problems to practice.

8 Total
8 Easy
0 Medium
0 Hard

Tower Of Hanoi

1.You are given the number of discs N and three rods 1,2 and 3. 2.Initially, these discs are in th...

easy

Print Decreasing

1. You are given a positive number n. 2. You are required to print the counting from n to 1. 3. Y...

easy

Print Increasing

1. You are given a positive number n. 2. You are required to print the counting from 1 to n. 3. Y...

easy

Print Increasing Decreasing

1. You are given a positive number n. 2. You are required to print the counting from n to 1 and ba...

easy

Factorial

1. You are given a number n. 2. You are required to calculate the factorial of the number. Don't ch...

easy

Power-linear

1. You are given a number x. 2. You are given another number n. 3. You are required to calculate x...

easy

Power-logarithmic

1. You are given a number x. 2. You are given another number n. 3. You are required to calculate x...

easy

Print Zigzag

1. Here are a few sets of inputs and outputs for your reference Input1 -> 1 Output1 -> 1 1 1...

easy