Skip to content

zetsux/one-problem-per-day

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

542 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧩 One Problem Per Day

This repository is a personal challenge to solve one programming problem every day, aiming to build consistency, strengthen algorithmic thinking, and grow as a problem solver.

πŸ“˜ Overview

On each solving day, a new directory is created containing:

  • A solution file written in the chosen programming language (e.g., Go or C++)
  • A README.md file describing the problem and approach

Problems are sourced from various platforms such as LeetCode, Codeforces, and others.

The folder structure follows this format:

/root
β”‚
β”œβ”€β”€ /D1_Codeforces_69
β”‚   β”œβ”€β”€ Codeforces_69.cpp
β”‚   └── README.md
β”‚
β”œβ”€β”€ /D2_LeetCode_111
β”‚   β”œβ”€β”€ LeetCode_111.cpp
β”‚   └── README.md
β”‚
└── ...

Where:

  • D1, D2, etc. β€” represent the day count
  • Codeforces, LeetCode β€” represent the platform
  • 69, 111 β€” represent the problem ID or number

🌱 Goals

  • Build daily problem-solving discipline
  • Learn and compare problem-solving approaches across multiple languages
  • Maintain a growing collection of algorithmic solutions

⚑ Quick Usage

You can quickly create a new problem directory using either Makefile or the shell script.

Option 1 β€” Using Make

make new PLATFORM=<platform> PROBLEM=<problem_number> EXT=<language_ext>

Example:

make new PLATFORM=LeetCode PROBLEM=117 EXT=go

Option 2 β€” Using Script

./new.sh <platform> <problem_number> <language_ext>

Example:

./new.sh Codeforces 69 cpp

πŸ›  Make sure to enable execution permission first:

chmod +x new.sh

About

🧠 A repository containing my daily problem solving journey

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages