list fragment

problem: a list : 3, 4 , 7 ,2 ,1 ,6 ,5, 9    a set: 2,3, 5,6

       find how many interleaves the list is partitioned by the set.

 

The answer to the above problem :  3, 4 , 7 ,|  2 ,1 ,|  6 ,5, 9

    

 

你可能感兴趣的:(Fragment)