|
| 1 | +# 🔧 C Programming Exercises |
| 2 | + |
| 3 | +This project contains **over than 70 solved exercises** in the C programming language, created by a student to build a strong foundation in programming, data structures, and algorithmic thinking. |
| 4 | + |
| 5 | +These exercises were solved as part of a personal learning journey to master the basics of C, understand algorithmic thinking & how its work, and get hands-on experience with core computer science concepts. |
| 6 | + |
| 7 | +--- |
| 8 | + |
| 9 | +## 📚 Topics Covered |
| 10 | + |
| 11 | +It includes a wide range of beginner to intermediate topics: |
| 12 | + |
| 13 | +### 🧠 Programming Fundamentals |
| 14 | +- ✅ Variables and Data Types |
| 15 | +- 🔁 Loops (`for`, `while`, `do-while`) |
| 16 | +- 🔀 Conditional Statements (`if`, `else`, `switch`) |
| 17 | +- 📦 Arrays (1D and 2D) |
| 18 | +- 📄 Strings |
| 19 | +- 🧮 Pointers |
| 20 | +- 🔄 Recursion |
| 21 | +- 🧩 Functions |
| 22 | + |
| 23 | +### 🧱 Les Structures de Données |
| 24 | +- 🧰 `struct` and `typedef struct` |
| 25 | +- 🗃️ Linked Lists (basics) |
| 26 | +- 📌 Memory management using pointers |
| 27 | +- 📚 Stack and Queue (basic usage and implementation) |
| 28 | + |
| 29 | +### 📐 Algorithmic Thinking |
| 30 | +- ⚙️ Searching (linear search, binary search) |
| 31 | +- 🧹 Sorting (bubble sort, selection sort, etc.) |
| 32 | +- 🔢 Mathematical and logic-based problems |
| 33 | +- 📊 Problem-solving strategies and algorithm patterns |
| 34 | + |
| 35 | +--- |
| 36 | + |
| 37 | +## 🌐 Source of Exercises |
| 38 | + |
| 39 | +All exercises were selected from the educational platform |
| 40 | +👉 (https://www.coodemaroc.com/), (LeetCode) website. |
| 41 | +which offers a variety of coding challenges focused on programming logic, algorithm design, and structured problem solving. |
| 42 | + |
| 43 | +--- |
| 44 | + |
| 45 | +## 🎯 Purpose of This Repository |
| 46 | + |
| 47 | +This repository was built to: |
| 48 | + |
| 49 | +- Practice C programming and algorithm design |
| 50 | +- Understand data structures and memory management |
| 51 | +- Prepare for technical interviews and university exams |
| 52 | +- Strengthen logical and structured thinking |
| 53 | +- Serve as a personal archive for learning and revision |
| 54 | + |
| 55 | +--- |
| 56 | + |
| 57 | +## 🛠️ How to Compile and Run the Code |
| 58 | + |
| 59 | +Make sure you have a C compiler like `gcc` installed. Then: |
| 60 | + |
| 61 | +```bash |
| 62 | +gcc -o output_name file_name.c |
| 63 | +./output_name |
0 commit comments