LeetCode 557. Reverse Words in a String III in F#

URL

leetcode.com/problems/reverse-words-in-a-st..

Code

github.com/syohex/dotnet-study/blob/master/..

let reverseString (s: string) : string =
    s.Split([| ' ' |])
    |> Array.map (fun s -> s.ToCharArray() |> Array.rev)
    |> Array.map System.String
    |> String.concat " "