static int lengthOfLongestString(Iterable l) { int n = 0; fOr (S s : l) n = max(n, l(s)); ret n; }