"Hi, Amigo! I found some great tasks for you:"

14

Task

Java Collections,
level 4,
lesson 2

Locked

Fibonacci numbers using recursion

Read about Fibonacci numbers.
Implement a recursive fibonacci method, where n is the number of an element in the Fibonacci sequence.
Don't create additional fields in the Solution class.

8

Task

Java Collections,
level 4,
lesson 2

Locked

Factorials using recursion

Read about how to calculate factorials.
Implement a recursive factorial method, where n is the number whose factorial needs to be calculated.
Don't create additional fields in the Solution class.

14

Task

Java Collections,
level 4,
lesson 2

Locked

Factorization using recursion

Separate the whole number n, where n > 1, into its prime factors.
Display all of its factors in ascending order, separated by spaces.
Write a recursive method to calculate the prime factors.
Don't create additional fields in the Solution class.

14

Task

Java Collections,
level 4,
lesson 2

Locked

Recursion for mathematical expressions

The input is a mathematical expression in the form of a String.
The expression may include whole numbers, fractional numbers, parentheses (), spaces, negative signs -, exponents ^, sin(x), cos(x), and tan(x).

14

Task

Java Collections,
level 4,
lesson 2

Locked

Tower of Hanoi

There are three rods. There are numRings rings stacked on rod A. Each ring has a different size and they're stacked from smallest
to largest (largest on the bottom). You need to move the pyramid of numRings rings from rod A to rod B in as few moves as possible.

GO TO FULL VERSION