摘要: There are several cards arranged in a row, and each card has an associated number of points. The points are given in the integer array cardPoints. In 阅读全文
posted @ 2021-02-06 16:15 CNoodle 阅读(440) 评论(0) 推荐(0)
摘要: We define a harmonious array as an array where the difference between its maximum value and its minimum value is exactly 1. Given an integer array num 阅读全文
posted @ 2021-02-06 13:20 CNoodle 阅读(128) 评论(0) 推荐(0)