Create a table and initialize all values as 2. The value of L [ i ] [ j ] stores LLAP with set [ i ] and set [ j ] as first two elements of AP . Only valid entries are the entries where j > i
L = [ [ 0 for x in range ( n ) ] for y in range ( n ) ] NEW_LINE