โ† PayPal questions

Number of pairs in an array whose sum is divisible by 60

Filed under PayPal

Given an array of integers, find the total number of pairs (i, j) with 0 <= i < j < n such that the sum of the elements arr[i] + arr[j] is divisible by 60.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related PayPal questions

Collected from public candidate posts and coding forums. Updated Nov 2026.