摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文