Merge Triplets to Form Target
Given a 2D array of triplets and a target triplet, determine if the target can be formed by choosing any subset of triplets and taking the element-wise maximum.
Premium Content
Create a free account, then unlock this problem and the entire premium catalog with a one-time CodeSnatch Premium purchase.
Already have an account with premium access? Sign in to continue.
