LeetCode 456. 132 Pattern in F#
URL
https://leetcode.com/problems/132-pattern/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0456/main.fsx
open System
let find132pattern (nums: int list) : bool =
let rec popSmallerValues num stack =
m...
syohex.hashnode.dev1 min read