Skip to content

Add comprehensive exercise explanations for all 21 Programming Fundamentals Exam exercises#4

Open
Copilot wants to merge 3 commits intomainfrom
copilot/explain-every-ex
Open

Add comprehensive exercise explanations for all 21 Programming Fundamentals Exam exercises#4
Copilot wants to merge 3 commits intomainfrom
copilot/explain-every-ex

Conversation

Copy link
Contributor

Copilot AI commented Feb 7, 2026

Repository lacked detailed explanations for the exam exercises beyond code solutions. Added comprehensive documentation covering all 21 exercises across 4 difficulty levels.

Changes

  • Created EXERCISES_EXPLAINED.md (1,053 lines)

    • Problem statements and requirements for each exercise
    • Step-by-step logic breakdowns with input/output examples
    • Key concepts, edge cases, and implementation notes
    • Organized by difficulty level with summary comparison table
  • Updated repository READMEs

    • Corrected exercise counts (18 → 21) in main and exam READMEs
    • Added cross-references to comprehensive guide
    • Updated Level 2 (5 → 6 exercises) and Level 4 (3 → 5 exercises) listings

Example

Each exercise explanation follows a consistent structure:

## 12. inter
**Difficulty**: ⭐⭐
**File**: `inter.c`

### Problem
Display characters appearing in both strings, no duplicates, first string order.

### Logic Breakdown
Input: "./inter" "padinton" "paqef..."
- Track seen characters in array[256]
- For each char in first string:
  - If exists in second AND not printed → print, mark seen
Output: "padinton"

### Key Concepts
- Set intersection via nested loops
- Duplicate prevention with seen[] array
- Order preservation from first string

Documentation serves as both learning resource and quick reference for exam preparation.

Original prompt

explain to me every ex


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits February 7, 2026 12:02
…or all 21 exercises

Co-authored-by: orgito1015 <86354243+orgito1015@users.noreply.github.com>
…mprehensive guide

Co-authored-by: orgito1015 <86354243+orgito1015@users.noreply.github.com>
Copilot AI changed the title [WIP] Add detailed explanation for every example Add comprehensive exercise explanations for all 21 Programming Fundamentals Exam exercises Feb 7, 2026
Copilot AI requested a review from orgito1015 February 7, 2026 12:04
@orgito1015 orgito1015 marked this pull request as ready for review February 7, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants