LeetCode 1832. Check if the Sentence Is Pangram in F#
URL
leetcode.com/problems/check-if-the-sentence..
Code
github.com/syohex/dotnet-study/blob/master/..
let checkIfPangram (sentence: string) : bool =
(sentence
|> Seq.fold (fun acc c -> Set.add c acc) Set.empty
|> Seq.toList
|> List.length) = 26