Problem 1899 · Medium

Merge Triplets to Form Target Triplet

Decide whether merging triplets by taking coordinatewise maxima can produce the target triplet. The visual shows the usable triplets merging into a running maximum that is compared with the target.

Open the interactive visualisation