摘要: A string S of lowercase letters is given. We want to partition this string into as many parts as possible so that each letter appears in at most one part, and return a list of integers representing th... 阅读全文
posted @ 2018-01-15 22:41 xiejunzhao 阅读(139) 评论(0) 推荐(0)
摘要: Given two integers L and R, find the count of numbers in the range [L, R] (inclusive) having a prime number of set bits in their binary representation.(Recall that the number of set bits an integer ha... 阅读全文
posted @ 2018-01-15 22:41 xiejunzhao 阅读(327) 评论(0) 推荐(0)