1. An apparatus comprising: a memory array comprising a plurality of memory sub-arrays; wherein at least one of the sub-arrays is arranged as a reconfigurable look-up table; wherein the reconfigurable look-up table comprises: a plurality of memory cells configured to store data, a local row decoder configured to activate one or more rows of memory cells based upon a set of input signals, a local line selector configured to select a sub-set of the row of memory cells based upon at least one input signal.