LeetCode 1332. Remove Palindromic Subsequences in F#
URL
leetcode.com/problems/remove-palindromic-su..
Code
github.com/syohex/dotnet-study/blob/master/..
let removePalidromeSub (s: string) : int =
let r = s |> Seq.rev |> System.String.Concat
if s = r then 1 else 2