LeetCode 173. Binary Search Tree Iterator in F#
URL
https://leetcode.com/problems/binary-search-tree-iterator/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0173/main.fsx
type Tree =
| Leaf
| Node of int * Tree * Tree
type BSTIterator =
{ Nums: int [...
syohex.hashnode.dev1 min read