AceStack AI

Coding (Algo)

Minimum Token Payment

Algorithm: Dynamic programming Difficulty: Medium Time: 35 minutes

Goal

Return the fewest tokens whose values sum exactly to amount, or -1 when no combination reaches it.

What this task practices

Minimum Token Payment is a coding (algo) interview exercise that trains prompt interpretation, explicit assumptions, a concrete response, and a clear explanation of tradeoffs. The catalog marks it as medium difficulty. It focuses on Technical Reasoning, Testing, Validation. The signed-in workspace provides the tools for the round and evaluates the attempt against task-specific criteria. Reference solutions, hidden checks, evaluator instructions, and candidate work remain private.

Sign in to startThe workspace and evaluation open after sign in.