好吧,这让我发疯了,解决方案一定很简单,但我已经碰壁了,
这里是:
suppose I have this Array: a, b, c, d
I want to find all the contiguous letters in the array without mixing them, such as:
a b c d
a b c
a b
b c d
b c
c d
我做了很多测试,但由于某种原因,我就是做错了。任何提示将不胜感激。
好吧,这让我发疯了,解决方案一定很简单,但我已经碰壁了,
这里是:
suppose I have this Array: a, b, c, d
I want to find all the contiguous letters in the array without mixing them, such as:
a b c d
a b c
a b
b c d
b c
c d
我做了很多测试,但由于某种原因,我就是做错了。任何提示将不胜感激。