in reply to Re: Comparing and Aligning arrays
in thread Comparing and Aligning arrays

Oooooh... So you're saying that  List1 List2 List3 are actually headers and the list items descend below each header. So the data should really look something like
List1 List2 List3
  a     a     b
  b     b     c
  c     d     d
translating (to pseudocode) as
List1 = [qw{a b c}];  List2 = [qw{a b d}];  List3 = [qw{b c d}];

That's a much better guess than mine, and from the tone of abd's reply may even be right. When I first saw your post, I thought you'd lost your mind, but I've switched to ++.

Replies are listed 'Best First'.
Re^3: Comparing and Aligning arrays
by kcott (Archbishop) on Apr 04, 2014 at 22:45 UTC
    "Oooooh... So you're saying that List1 List2 List3 are actually headers ..."

    At first, I did read the rows as being the lists and struggled to work out how the transformation was supposed to be accomplished.

    I don't recall the exact thought process: I think three "ListN" in both input and input matching three columns in both (but not four rows in the output) probably led to the guess I made.

    "When I first saw your post, I thought you'd lost your mind, but I've switched to ++."

    Thanks for generating a hearty chuckle at my end: a good start to my day. :-)

    -- Ken