my problem context is, for a bit string of even length like 101001, and for every possible arrangement of parentheses of the same length, find if the the two bits on matching parentheses are distinct.
oh it is more like "two bit strings can be matched together if for any one of possible parentheses arrangement, the parity on each pairing parentheses are same"
> Brackets corresponds to 2's and 3's. For matching brackets, if they are [ ]0 then they correspond to the same color, and different colors if they are [ ]1.
The presentation is a little confusing. He sets it up describing how to get a coloring from a chromogram and then immediately changes the frame of reference to getting a chromogram from a coloring. I think I get the problem now, though.
Hi, if I do something like: (⍳ 5) + ⍳ 5 does APL make the two arrays and then add them or does it actually just work with one pair of elements at a time?
I'm asking because if instead of 5 we have a large number N than memory scales with N