摘要: Given an array A of integers, return the number of (contiguous, non-empty) subarrays that have a sum divisible by K. Example 1: Note: Approach #1: Has 阅读全文
posted @ 2019-04-12 22:00 Veritas_des_Liberty 阅读(439) 评论(0) 推荐(0) 编辑
摘要: A string of '0's and '1's is monotone increasing if it consists of some number of '0's (possibly 0), followed by some number of '1's (also possibly 0. 阅读全文
posted @ 2019-04-12 21:19 Veritas_des_Liberty 阅读(300) 评论(0) 推荐(0) 编辑