Found i and k for j , LLAP with i and j as first two elements is equal to LLAP with j and k as first two elements plus 1. L [ j ] [ k ] must have been filled before as we run the loop from right side
L [ i ] [ j ] = L [ j ] [ k ] + 1 ;