Skip to content

Commit d92c3c5

Browse files
committed
solved all conflicts
1 parent 95ddf63 commit d92c3c5

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

dsa-solutions/gfg-solutions/0004-fibbonacci-sum.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ This tutorial contains a complete walk-through of the Fibonacci Sum problem from
1414

1515
## Problem Description
1616

17-
Given a positive number N, find the value of f0 + f1 + f2 + ... + fN where fi indicates the ith Fibonacci number. Note that f0 = 0, f1 = 1, f2 = 1, f3 = 2, f4 = 3, f5 = 5, and so on. Since the answer can be very large, return the result modulo 1000000007.
17+
Given a positive number N, find the value of $f0 + f1 + f2 + ... + fN$ where fi indicates the ith Fibonacci number. Note that $f0 = 0, f1 = 1, f2 = 1, f3 = 2, f4 = 3, f5 = 5,$ and so on. Since the answer can be very large, return the result modulo $1000000007$.
1818

1919
## Examples
2020

21-
```
2221
**Example 1:**
22+
```
2323
2424
Input:
2525
N = 3
@@ -29,8 +29,8 @@ Explanation:
2929
0 + 1 + 1 + 2 = 4
3030
```
3131

32-
```
3332
**Example 2:**
33+
```
3434
3535
3636
Input:
@@ -268,6 +268,3 @@ By leveraging the properties of Fibonacci numbers and matrix multiplication, we
268268
- **Solution Link:** [Fibonacci Sum on Geeks for Geeks](https://www.geeksforgeeks.org/problems/fibonacci-sum/0)
269269
- **Authors GeeksforGeeks Profile:** [Vipul](https://www.geeksforgeeks.org/user/lakumvipwjge/)
270270

271-
```
272-
This structured tutorial provides a comprehensive solution to the Fibonacci Sum problem, making it easy for others to understand and implement in various programming languages.
273-
```

0 commit comments

Comments
 (0)