摘要: Given a binary string S (a string consisting only of '0' and '1's) and a positive integer N, return true if and only if for every integer X from 1 to 阅读全文
posted @ 2019-03-25 21:08 xuyy_isee 阅读(176) 评论(0) 推荐(0) 编辑
摘要: Given an array A of positive integers, A[i] represents the value of the i th sightseeing spot, and two sightseeing spots i and j have distance j i bet 阅读全文
posted @ 2019-03-25 21:02 xuyy_isee 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Given a positive integer K, you need find the smallest positive integer N such that N is divisible by K, and N only contains the digit 1. Return the l 阅读全文
posted @ 2019-03-25 20:48 xuyy_isee 阅读(182) 评论(0) 推荐(0) 编辑
摘要: Given an array A of integers, return true if and only if we can partition the array into three non empty parts with equal sums. Formally, we can parti 阅读全文
posted @ 2019-03-25 19:59 xuyy_isee 阅读(198) 评论(0) 推荐(0) 编辑