#3185
Count Pairs That Form a Complete Day II
specialist · 970 · lc medium +32 · 43.6% accepted · 194 likes · top 25%
Description
Given a (larger) integer array hours, count pairs (i, j) with i < j such that hours[i] + hours[j] is a multiple of 24.
Code
1
2
3