LeetCode 136. Single Number in F#
URL
https://leetcode.com/problems/single-number/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0136/main.fsx
let singleNumber (nums: int list) : int =
nums |> List.reduce (fun a b -> a ^^^ b)
syohex.hashnode.dev1 min read