static int lCommonPrefix_lists(L a, L b) { int i = 0, n = min(l(a), l(b)); while (i < n && eq(a.get(i), b.get(i))) ++i; ret i; }