LeetCode 199. Binary Tree Right Side View in F#
URL
https://leetcode.com/problems/binary-tree-right-side-view/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0199/main.fsx
type Tree =
| Leaf
| Node of int * Tree * Tree
let rightSideView (root: Tree) : int...
syohex.hashnode.dev1 min read