You are viewing a single comment's thread. Return to all comments →
Java 8
public static String pangrams(String s) { return (IntStream.range(0, 26) .filter(e -> s.toLowerCase().contains("" + (char)(e + 'a'))) .count() == 26)?"pangram":"not pangram"; }
Seems like cookies are disabled on this browser, please enable them to open this website
Pangrams
You are viewing a single comment's thread. Return to all comments →
Java 8