Skip to content

Latest commit

History

History
34 lines (26 loc) 路 3.27 KB

File metadata and controls

34 lines (26 loc) 路 3.27 KB

Daily Coding Problems C++

A curated collection of C++17 solutions for Daily Coding Problem interview prompts. The repository is organized to stay readable for a small set of problems while scaling cleanly to hundreds of solutions.

Project Overview

Each problem lives in its own folder, grouped by difficulty and named with the pattern <problem-number>-<title-in-kebab-case>. Every problem folder contains a standalone README.md and solution.cpp file.

Repository Structure

  • easy/ contains solved easy problems, grouped by folder name and problem number.
  • medium/ contains medium-difficulty problems using the same folder convention.
  • hard/ contains hard-difficulty problems using the same folder convention.
  • Each problem folder contains a README.md with the statement, approach, run instructions, and complexity, plus a solution.cpp file with the implementation.

Problem Index

# Problem Difficulty Topics Solution
1223 Tree Depth From Encoding 馃敶 Hard Trees, Recursion, Parsing solution.cpp
1233 RGB Segregation 馃敶 Hard Arrays, Two Pointers, Greedy solution.cpp
1240 Gray Code 馃煛 Medium Bit Manipulation, Recursion solution.cpp
1241 Find Celebrity 馃煛 Medium Graphs, Greedy solution.cpp
1242 Word Ladder 馃煛 Medium Graphs, BFS solution.cpp
1244 Rescue Boats 馃煛 Medium Arrays, Greedy, Two Pointers solution.cpp
1245 Text Justification 馃煛 Medium Strings, Greedy solution.cpp
1247 Sorted Squares 馃煝 Easy Arrays, Two Pointers solution.cpp
1243 Shift String 馃煝 Easy Strings, Two Pointers solution.cpp
1248 Substring Concatenation of All Words 馃煛 Medium Strings, Hash Table, Sliding Window solution.cpp
1249 Valid Binary Search Tree 馃煛 Medium Trees, Recursion solution.cpp
1250 Palindrome Permutation 馃煝 Easy Strings, Hash Table solution.cpp
1252 Clock Angle 馃煝 Easy Math, Strings solution.cpp
1254 Minimum Stabbing Points 馃敶 Hard Greedy, Sorting, Intervals solution.cpp