← All problemsSign in

Special fibonnacci series

Problem : 2 Normal form of Fibonacci series upto N is A1, A2, A3, ..., AN-1, AN. Our special fibonacci series is A1, AN, A2, AN-1, ..., AN/2. For a given N, print the first M numbers for this special Fibonacci series. As the numbers can be very big, print the number modulo 1000000007. Rules : - Your solution will not get accepted if you changed whole code or write your own code Buggy code

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