Fundamentals
/
Pairs of Songs With Total Durations Divisible by 60
⏸
00:00
↻
← Prev
Next →
▶
Question
Given an array of song durations in seconds, return the number of pairs (i, j) with i < j such that durations[i] + durations[j] is divisible by 60.
▶
Understand
▶
Approach
▶
My Code
▶
Reference Solution
Compare
5