LeetCode 387. First Unique Character in a String in F#
URL
https://leetcode.com/problems/first-unique-character-in-a-string/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0387/main.fsx
let firstUniqChar (s: string) : int =
let rec firstUniqChar' cs (acc: int list []...
syohex.hashnode.dev1 min read