Circuits: 4-1 Multiplexor
Boolean function: z = \c1\c0x0 + \c1c0x1 + c1\c0x2 + c1c0x3
Could construct this from gates, or use existing building blocks (2-1 MUX):
c1 c0 z
0 0 x0
0 1 x1
1 0 x2
1 1 x3
c0 selects even or odd indicies
0: x0, x2
1: x1, x3
c1 selects larger or smaller
0: x0, x1
1: x2, x3