Gyanthakur / GFG_POTD

Add GfG potd fcfs
26 stars 52 forks source link

Create a gfg 4th sep problem 2024 #191

Closed PradeepFSTdhane123 closed 1 month ago

PradeepFSTdhane123 commented 1 month ago

"gfg potd 4th sep problem added "

Description

The logic of the code is based on counting the number of possible combinations of taking 1 or 2 steps to reach the n-th stair. The formula 1 + n / 2 effectively counts all the unique ways you can balance 1-stair and 2-stair steps to reach the top.

Fixes: #[issue_number] (replace with the issue number, if applicable)

Use [x] to represent a checked (ticked) box.✅ Use [ ] to represent an unchecked box.❌

Type of Change

Checklist

Gyanthakur commented 1 month ago

resolve conflict.