摘要: For any 4-digit integer except the ones with all the digits being the same, if we sort the digits in non-increasing order first, and then in non-decre 阅读全文
posted @ 2020-05-03 22:07 Veritas_des_Liberty 阅读(182) 评论(0) 推荐(0)
摘要: Mooncake is a Chinese bakery product traditionally eaten during the Mid-Autumn Festival. Many types of fillings and crusts can be found in traditional 阅读全文
posted @ 2020-05-03 21:20 Veritas_des_Liberty 阅读(251) 评论(0) 推荐(0)
摘要: People often have a preference among synonyms of the same word. For example, some may prefer "the police", while others may prefer "the cops". Analyzi 阅读全文
posted @ 2020-05-03 20:49 Veritas_des_Liberty 阅读(209) 评论(0) 推荐(0)
摘要: Given an array of integers nums and an integer limit, return the size of the longest continuous subarray such that the absolute difference between any 阅读全文
posted @ 2020-05-03 18:22 Veritas_des_Liberty 阅读(560) 评论(0) 推荐(0)
摘要: You are given an m * n matrix, mat, and an integer k, which has its rows sorted in non-decreasing order. You are allowed to choose exactly 1 element f 阅读全文
posted @ 2020-05-03 17:28 Veritas_des_Liberty 阅读(247) 评论(0) 推荐(0)
摘要: A gas station has to be built at such a location that the minimum distance between the station and any of the residential housing is as far away as po 阅读全文
posted @ 2020-05-03 10:32 Veritas_des_Liberty 阅读(198) 评论(0) 推荐(0)