Triplets and Pairs Divisible by 3
Filed under Tally Solutions
The question
Given an array of positive integers, find the number of pairs and triplets whose elements sum up to a value divisible by 3.
No write-up yet. Related questions below have one.
Related Tally Solutions questions
Collected from public candidate posts and coding forums. Updated Nov 2026.