这里就没有升级IOS9后没法在itune里面备份app的吗?# Apple - 家有苹果
s*g
1 楼
刚开始找工作,面试了几家,好几次被问到了这道题,想来应该是经典题了,可是搜了
一下,没发现很直接的答案,所以想请教大家。
题目是:
有一个不定长的char string (S1),都是0,1组成;另外一个string (S2), 也是0,1
组成,可以认为是pattern,问S1中是否含有S2
e.g S1 = 11100011 10101011 11111111 10000100 ( 4 bytes, '11100011' is 1 byte)
S2 = 00111010
the answer is ture, 1110"00111010"1011
希望讲清楚了,先谢谢了
一下,没发现很直接的答案,所以想请教大家。
题目是:
有一个不定长的char string (S1),都是0,1组成;另外一个string (S2), 也是0,1
组成,可以认为是pattern,问S1中是否含有S2
e.g S1 = 11100011 10101011 11111111 10000100 ( 4 bytes, '11100011' is 1 byte)
S2 = 00111010
the answer is ture, 1110"00111010"1011
希望讲清楚了,先谢谢了