|
| 1 | +# CP Daily Challenge |
| 2 | + |
| 3 | +Welcome to **CP Daily Challenge** — a structured daily practice repository for **competitive programming**. |
| 4 | +This repo is dedicated to **consistency, discipline, and long-term CP mastery** through **daily problem solving**. |
| 5 | + |
| 6 | +Whether you're preparing for: |
| 7 | +- Coding Contests |
| 8 | +- Technical Interviews |
| 9 | +- GATE / ICPC / Codeforces / LeetCode |
| 10 | +- Long-term CP growth |
| 11 | + |
| 12 | +This repository is your **daily grind companion**. |
| 13 | + |
| 14 | +--- |
| 15 | + |
| 16 | +## Purpose of This Repository |
| 17 | + |
| 18 | +The goal of **CP Daily Challenge** is to: |
| 19 | + |
| 20 | +- Maintain **daily coding consistency** |
| 21 | +- Improve **problem-solving speed & accuracy** |
| 22 | +- Track **long-term competitive programming growth** |
| 23 | +- Cover **all CP topics gradually** |
| 24 | +- Build a **strong public CP practice log** |
| 25 | +- Encourage **habit-based learning** |
| 26 | + |
| 27 | +This is not about quick results — this is about **discipline and mastery**. |
| 28 | + |
| 29 | +--- |
| 30 | + |
| 31 | +## Daily Challenge Format |
| 32 | + |
| 33 | +Each day includes: |
| 34 | + |
| 35 | +- 1–3 Problems |
| 36 | +- Problem statements / links |
| 37 | +- Clean solutions |
| 38 | +- Explanation / Thought process |
| 39 | +- Time & Space Complexity |
| 40 | +- Mistakes & Learnings (optional but encouraged) |
| 41 | + |
| 42 | +--- |
| 43 | + |
| 44 | +## Repository Structure |
| 45 | + |
| 46 | +/day-001 |
| 47 | +/day-002 |
| 48 | +/day-003 |
| 49 | +... |
| 50 | + |
| 51 | + |
| 52 | +Each day may contain: |
| 53 | + |
| 54 | +- `problem.md` → Problem statement or link |
| 55 | +- `solution.cpp` / `solution.py` → Implementation |
| 56 | +- `notes.md` → Learnings, optimizations, mistakes |
| 57 | + |
| 58 | +Folder naming is strictly sequential. |
| 59 | + |
| 60 | +--- |
| 61 | + |
| 62 | +## Topics Covered |
| 63 | + |
| 64 | +Over time, this challenge will cover: |
| 65 | + |
| 66 | +- Arrays & Strings |
| 67 | +- Searching & Sorting |
| 68 | +- Mathematics |
| 69 | +- Recursion & Backtracking |
| 70 | +- Dynamic Programming |
| 71 | +- Greedy Algorithms |
| 72 | +- Graph Theory |
| 73 | +- Trees & Binary Trees |
| 74 | +- Bit Manipulation |
| 75 | +- Segment Trees & Fenwick Trees |
| 76 | +- Advanced CP Topics |
| 77 | + |
| 78 | +--- |
| 79 | + |
| 80 | +## How to Participate |
| 81 | + |
| 82 | +Anyone can participate. |
| 83 | + |
| 84 | +### Steps to Join |
| 85 | + |
| 86 | +1. **Fork this repository** |
| 87 | +2. **Create a new branch with your name** |
| 88 | + |
| 89 | +git checkout -b your-name |
| 90 | + |
| 91 | +3. Solve today’s challenge |
| 92 | +4. Add your solution in the respective `day-XXX` folder |
| 93 | +5. Commit and push your work |
| 94 | +6. Create a **Pull Request (PR)** |
| 95 | + |
| 96 | +Your contributions will help build a massive CP practice archive. |
| 97 | + |
| 98 | +--- |
| 99 | + |
| 100 | +## Contribution Rules |
| 101 | + |
| 102 | +- Only **original solutions** |
| 103 | +- Code must be **clean & readable** |
| 104 | +- Add **explanations wherever possible** |
| 105 | +- Mention **time & space complexity** |
| 106 | +- No copy-paste without learning purpose |
| 107 | +- Avoid spoiler dumps without logic |
| 108 | + |
| 109 | +Low-effort PRs will not be merged. |
| 110 | + |
| 111 | +--- |
| 112 | + |
| 113 | +## Discipline Rules (Optional but Powerful) |
| 114 | + |
| 115 | +- Solve **at least one problem every day** |
| 116 | +- Never skip **two consecutive days** |
| 117 | +- Maintain a **daily streak** |
| 118 | +- Focus more on **thinking than codes** |
| 119 | + |
| 120 | +Consistency beats talent in CP. |
| 121 | + |
| 122 | +--- |
| 123 | + |
| 124 | +## Tracking Progress |
| 125 | + |
| 126 | +You can track: |
| 127 | + |
| 128 | +- Total days completed |
| 129 | +- Topics mastered |
| 130 | +- Mistakes reduced |
| 131 | +- Speed improved |
| 132 | +- Interview readiness |
| 133 | + |
| 134 | +This repo becomes your **public CP portfolio**. |
| 135 | + |
| 136 | +--- |
| 137 | + |
| 138 | +## Long-Term Vision |
| 139 | + |
| 140 | +- 100-day CP Streak |
| 141 | +- Interview-ready problem bank |
| 142 | +- Topic-wise filtered difficulty |
| 143 | +- Public CP journey for motivation |
| 144 | +- Recruiter-visible skill proof |
| 145 | + |
| 146 | +--- |
| 147 | + |
| 148 | +## Support This Project |
| 149 | + |
| 150 | +If you find this useful: |
| 151 | + |
| 152 | +- ⭐ Star this repo |
| 153 | +- Fork it |
| 154 | +- Share it with your CP friends |
| 155 | +- Stay consistent |
| 156 | + |
| 157 | +--- |
| 158 | + |
| 159 | +## 📬 Contact & Suggestions |
| 160 | + |
| 161 | +For: |
| 162 | + |
| 163 | +- Issues |
| 164 | +- Improvement ideas |
| 165 | +- New challenge formats |
| 166 | +- Collaboration |
| 167 | + |
| 168 | +Open an **Issue** or submit a **Pull Request**. |
| 169 | + |
| 170 | +--- |
| 171 | + |
| 172 | +### One Day. One Problem. One Step Closer to Mastery. |
0 commit comments