Merge Triplets to Form Target Triplet — Greedy

Decide whether repeatedly merging rating triplets, keeping the higher score on each scale, can ever yield an exact target triplet.

Greedy · Medium

More in Greedy

All algorithm problems