LeetCode 1461. Check If a String Contains All Binary Codes of Size K in F#
URL
https://leetcode.com/problems/check-if-a-string-contains-all-binary-codes-of-size-k/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/1461/main.fsx
open System
let hasAllCodes (s: string) (k: int) : bool =
if ...
syohex.hashnode.dev1 min read