Decomposition & Pseudocode

Break problems into steps and sketch solutions.

Lesson 1

Concept

Describe inputs/outputs, outline steps in plain language, then implement. Start with small examples and expand.

Try it

Decomposition Moves

1 / 3
Extract Function
(Click to flip)
Move a coherent block into a function.
(Click to flip back)