Which algorithm pattern is this?

Stuck on which technique a problem wants? Tick what the problem statement says, pick the biggest input size from the constraints, and the finder ranks the coding patterns that fit. Each one comes with the tell-tale sign, a Python template, the target complexity and problems to practise on.

Try an example:

What is the input?

What does it ask for?

Anything else in the statement?

How many elements (n)?

FAQ