anyone know a good way to test whether a list which will always be a made up from the elements of two input lists satisfies the condition of being made up from interleaved elements from the two lists
i.e. listAelement, listBelement, listAelement, listBelement
i actually am taking the two input lists concatanating them and generating all permutations of the new list (can already do that bit)
thanks, g
i then want to go through this list of permutations and throw away all which aren't interleaved permutations as defined above leaving me with all possible interleaved permutations of the two lists