A collection of GeeksForGeeks problem solutions organized by difficulty level.
GFG_Questions/
βββ Difficulty: Basic/
β βββ Largest in Array/
β βββ Odd or Even/
β βββ Sum of Array/
β βββ Swap The Numbers/
β βββ Zero Converter - Python/
β
βββ Difficulty: Easy/
βββ Check the status - Python/
βββ Count Digits that Divide/
βββ First Occurrence in Sorted/
βββ If conditional statement - Python/
βββ Jumping through While - Python/
βββ Mark Even and Odd - Python/
βββ Print GFG n times/
| # | Problem | Description |
|---|---|---|
| 1 | Largest in Array | Find the largest element in an array |
| 2 | Odd or Even | Check whether a number is odd or even |
| 3 | Sum of Array | Calculate the sum of all elements in an array |
| 4 | Swap The Numbers | Swap two numbers without a temporary variable |
| 5 | Zero Converter - Python | Convert elements to zero based on a condition |
| # | Problem | Description |
|---|---|---|
| 1 | Check the status - Python | Check the status of a given condition |
| 2 | Count Digits that Divide | Count digits of a number that divide it evenly |
| 3 | First Occurrence in Sorted | Find the first occurrence of an element in a sorted array |
| 4 | If conditional statement - Python | Practice using if-else conditional statements |
| 5 | Jumping through While - Python | Use while loops to jump through sequences |
| 6 | Mark Even and Odd - Python | Mark elements as even or odd in a list |
| 7 | Print GFG n times | Print "GFG" n number of times using loops |
| Difficulty | Solved |
|---|---|
| π’ Basic | 5 |
| π‘ Easy | 7 |
| π Medium | 0 |
| π΄ Hard | 0 |
| Total | 12 |
- Python π
- Clone the repository:
git clone https://github.com/Ritika-Bhati-2266/GFG_Questions.git
- Navigate to any problem folder:
cd "Difficulty: Basic/Largest in Array"
- Run the solution:
python solution.py
β Star this repo if you find it helpful!