【Leetcode】1010. Pairs of Songs With Total Durations Divisible by 60

也要考虑到最后一个key,因为也要去判断这最后一个key是否满足(keys[i] + keys[i]) % 60 == 0

本身满足要求的时候,是C22的组合

你可能感兴趣的:(【Leetcode】1010. Pairs of Songs With Total Durations Divisible by 60)