All Valid Triplets That Can Represent a Country - DSA Problem | Talentd