You are given a triplets, where triplets[i] target
You can perform the following operation any number of times:
Select two distinct indices i and j (triplets.length) and update triplets[j] to become
Return true if it is possible to make target an element of triplets, or false otherwise.
Constraints:
triplets.length
triplets[i].length target.length
You are given a triplets, where triplets[i] target
You can perform the following operation any number of times:
Select two distinct indices i and j (triplets.length) and update triplets[j] to become
Return true if it is possible to make target an element of triplets, or false otherwise.
Constraints:
triplets.length
triplets[i].length target.length