摘要:
[抄题]: Given a non-empty string check if it can be constructed by taking a substring of it and appending multiple copies of the substring together. You 阅读全文
posted @ 2018-03-24 21:07
苗妙苗
阅读(146)
评论(0)
推荐(0)
摘要:
[抄题]: Given two strings A and B, find the minimum number of times A has to be repeated such that B is a substring of it. If no such solution, return - 阅读全文
posted @ 2018-03-24 16:43
苗妙苗
阅读(132)
评论(0)
推荐(0)
摘要:
[抄题]: Give a string s, count the number of non-empty (contiguous) substrings that have the same number of 0's and 1's, and all the 0's and all the 1's 阅读全文
posted @ 2018-03-24 15:47
苗妙苗
阅读(154)
评论(0)
推荐(0)