← All problemsSign in

Viru and his Unique Series

Viru is crazy about Fibbonaci series and challenges his friend Kushu that he can solve any question related to the same. Kushu however feels jealous and after thinking for a long time he came up with a problem.He made slight changes in fibbonaci series. By definition, the first two numbers in the Fibonacci sequence are 0 and 1, and each subsequent number is the sum of the previous two. In mathem

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start