LeetCode 841. Keys and Rooms in F#
URL
Keys and Rooms - LeetCode
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0841/main.fsx
let canVisitAllRooms (rooms: int list[]) : bool =
let rec canVisitAllRooms' room (rooms: int list[]) visited =
if...
syohex.hashnode.dev1 min read