programming puzzle

noun
UK /ˈprəʊ.ɡræm.ɪŋ ˈpʌz.əl/
US /ˈproʊ.ɡræm.ɪŋ ˈpʌz.əl/

A fun problem you solve by writing computer code.

The teacher gave us a programming puzzle to find the shortest path through a maze.


OTHER MEANINGS

2. A game where players write small programs to control robots or characters.

In the programming puzzle, kids wrote commands to guide a robot through obstacles.

3. A contest task that tests how well someone can write efficient code.

She won first place by solving the hardest programming puzzle in under an hour.

4. A brain teaser that requires step-by-step instructions to reach an answer.

This programming puzzle asks you to sort the numbers using the fewest steps.