Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Improve rating of difficulty

Open
#512 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp
Domain
content

Research direction

Start with config.json and review the existing difficulty values alongside the exercise descriptions mentioned in the issue. Clarify whether ratings are relative or tied to a defined learner level, then gather consensus on the proposed discrepancies before updating the metadata; done means the scale and revised ratings are agreed and consistently reflected in config.json.

Written by the indexing model from the issue text.

Description

config.json assigns a "difficulty" to each exercise.
Here they are:

1
    hello-world
    leap
    luhn
    space-age
    two-fer
2
    collatz-conjecture
    gigasecond
    grains
    pangram
    raindrops
    reverse-string
    secret-handshake
3
    acronym
    allergies
    armstrong-numbers
    atbash-cipher
    binary
    difference-of-squares
    etl
    grade-school
    hamming
    hexadecimal
    isogram
    matching-brackets
    nucleotide-count
    pascals-triangle
    protein-translation
    rna-transcription
    scrabble-score
    sum-of-multiples
    triangle
    trinary
4
    all-your-base
    binary-search
    robot-simulator
5
    anagram
    bob
    clock
    meetup
    nth-prime
    phone-number
    prime-factors
    queen-attack
    robot-name
    series
    sieve
    word-count
6
    circular-buffer
    complex-numbers
7
    beer-song
    crypto-square
    food-chain
    roman-numerals
10
    binary-search-tree
    say

IMHO some of those ratings are wildly off, e.g.:

  • luhn is definitely more difficult than hello-world, leap, or two-fer
  • I've mentored space-age several hundred times. Many students struggle with that exercise because they member functions have to be const-qualified and they have to choose a type that can represent the age in seconds for all tests.
  • pangram and isogram are very similar, IMHO they are equally difficult.
    (The only thing that makes isogram a little bit tricky is that the description doesn't restrict the characters to ASCII so one has to be careful not to call std::isalpha() or std::tolower() with a char.)
  • Are beer-song and food-chain really that complicated? (Frankly, I never understood the appeal of those exercises.)

I'm sure you can easily spot some more discrepancies.

And a more general question: Are the difficulties rated in comparison to each other or do those ratings have some meaning (e.g. 1=for beginners who just wrote their first hello-world, 4=for those who feel comfortable writing classes and functions, 7=complex tasks with multiple requirements)?

Dominant language
C++
Stars
291
Forks
244
Avg merge
17m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from exercism/cpp

All issues in exercism/cpp

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.