Fibonacci n-th

Easy
3 views 25 Jan 2026
Compute the n-th Fibonacci number (0-indexed)....

Arithmetic Progression Term

Easy
2 views 25 Jan 2026
Given a1,d,n find n-th term....

Geometric Progression Term Mod

Medium
2 views 25 Jan 2026
Given a,r,n,m compute a*r^(n-1) mod m....

Solve Linear Recurrence

Hard
4 views 25 Jan 2026
Given f0,f1 and f(n)=f(n-1)+2f(n-2), compute f(n)....