Sha256: aff2008a8cc3afd6eacc011ecb531d89033840750f62da6e2adcc483131f4cda
Contents?: true
Size: 301 Bytes
Versions: 63
Compression:
Stored size: 301 Bytes
Contents
{String*} anagrams(String subject, {String*} candidates) { value lower = subject.lowercased; value chars = sort(lower); return candidates.filter((c) { value lowerCandidate = c.lowercased; return lower!=lowerCandidate && chars == sort(lowerCandidate); }); }
Version data entries
63 entries across 63 versions & 1 rubygems