LeetCode 874. Walking Robot Simulation in F#
URL
Walking Robot Simulation - LeetCode
Code
https://github.com/syohex/dotnet-study/tree/master/fsharp/leetcode/challenge/202409/walking_robot_simulation/main.fsx
let robotSim (commands: int list) (obstacles: (int * int) list) : int =
let steps =...
syohex.hashnode.dev1 min read