Help for this page
$L[$i-1][$j-1] ||= 0; $L[$i][$j] = $L[$i-1][$j-1] + 1;
if ($i && $j) { $L[$i-1][$j-1] ||= 0; ... } else { $L[$i][$j] = 1; }