Skip to content

Tauhidrana/problem-solving-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 Problem Solving in C

Welcome to the problem-solving-c repository 🚀

This repository is a collection of problem-solving programs written in C, focused on building strong logic, clear thinking, and confidence with the C language. Each file represents a specific problem and its solution using fundamental C concepts.

This repo is about practice. Real practice. The kind that slowly rewires how you think.


🎯 Purpose of This Repository

  • Improve problem-solving skills using C
  • Practice logic through small to medium problems
  • Strengthen understanding of loops, conditions, arrays, and functions
  • Prepare for exams, lab tests, and beginner competitive programming
  • Keep all solved C problems organized in one place

This repository grows as more problems are solved.


📚 What Problems Are Included

The problems in this repository cover topics such as:

  • Basic input/output
  • Arithmetic and logical operations
  • Even–odd checks
  • Palindrome problems
  • Array and 2D array problems
  • Sorting and searching basics
  • Recursion-based problems
  • Counting and comparison problems
  • Pattern and number printing

Each problem is solved using simple and readable C code.


📂 Repository Structure

problem-solving-c/
├── 2D_array.c
├── A_Add.c
├── A_Print_Recursion.c
├── B_Print.c
├── C_Compare.c
├── C_Print_from_N_to_1.c
├── Count_Before_One.c
├── D_Print_Digits_using_Recursion.c
├── Difference_Array.c
├── Divisible_By_5_or_Not.c
├── Even_and_Odd.c
├── F_Reversing.c
├── Find_the_Missing_Number.c
├── G_Palindrome_Array.c
├── H_Sorting.c
├── I_Count_Vowels.c
├── Is_Palindrome.c
├── J_Factorial.c
├── ...and more
├── README.md

Each file name reflects the problem it solves.


🛠 Language & Tools Used

  • Language: C
  • Compiler: GCC
  • Editor: VS Code / Code::Blocks / Dev-C++
  • OS: Windows / Linux

🚀 How to Run the Code

  1. Clone the repository:
git clone https://github.com/Tauhidrana/problem-solving-c.git
  1. Go to the repository folder:
cd problem-solving-c
  1. Compile any C file:
gcc filename.c -o filename
  1. Run the program:
./filename

Try different inputs and modify the code — learning happens there.


🧠 Learning Philosophy

This repository follows a practice-driven approach:

  • Solve many small problems
  • Focus on logic, not shortcuts
  • Write clear code before optimized code
  • Learn from wrong answers and bugs

Problem solving is not talent — it’s repetition.


📌 Notes

  • Solutions prioritize clarity over optimization
  • Code style improves as learning progresses
  • This is a learning repository, not a production library

🤝 Contribution

This is mainly a personal practice repository, but:

  • Better logic is welcome
  • Cleaner solutions are appreciated
  • New problems are always good

⭐ Support

If this repository helps you improve your problem-solving skills in C, consider giving it a ⭐ on GitHub.

Solve problems daily. Growth will follow. 💪🔥

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages