July 4th Sale
Limited Time Deal: Unlock all premium questions for over 40% off
$10.42$6.25
Ending Soon
Back to Dashboard
[CodeSignal] Maximum Zero-Sum Triplets
Medium
Question
You are given an array A of integers. A triplet is a sequence of three consecutive elements. A triplet is called zero-sum if the sum of its three elements equals 0.
...