The interview problem

Practice prompt

Design a colorization tool that offers plausible alternatives and preserves the original grayscale asset.

Original practice, not a reported company interview. Scenarios and numbers are illustrative. Interview date: not applicable. Sources retrieved October 1, 2026.

1. Scope and worked approach

Predict chroma conditioned on luminance and optionally user color hints. Evaluate perceptual plausibility and luminance preservation, while making clear that multiple colors can correspond to the same grayscale input. Split datasets by original image source to avoid near-duplicate leakage.

2. Trace the design or derivation

Grayscale and optional hints
  → chroma candidates
  → luminance-preserving composite
  → labeled export

Keep a provenance record describing user hints and model version. Evaluate whether colors remain stable across related frames if video is later supported; independent image quality does not prevent temporal flicker. Do not quietly add video support under an image-only evaluation.

3. Calculate the example

If two candidate shirts have identical luminance but different chroma, grayscale reconstruction cannot choose the historically correct one. Three plausible outputs are alternatives, not three confidence-certified historical facts.

4. Failure cases and trade-offs

A single pixelwise average of plausible colors can become dull. Training priors can impose stereotyped colors; a realistic output may be especially misleading for archival use.

5. Validation, follow-ups and self-review

Test hint adherence and grayscale round-trip fidelity. Follow-up: how should users label exported results? Self-review: distinguish plausible generation from evidence-based restoration.

Sources and related practice

Technical reference: arxiv.org — Plausible image colorization; no historical-truth guarantee.

Source publication/update: 2016-03-28; revised 2016-10-05. Retrieved October 1, 2026. The workflow, calculations and review exercises are original; this reference is not evidence that a company asked this question.

Continue with Restore scanned images without inventing evidence; Design a mask-controlled image repair tool.

Continue your preparation

Choose a connected learning path or browse more ML system design questions. Read our editorial method and attribution policy.