LeetCode 29. Divide Two Integers in F#
URL
https://leetcode.com/problems/divide-two-integers/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0029/main.fsx
open System
let divide (dividend: int) (divisor: int) : int =
if divisor = 1 then
divid...
syohex.hashnode.dev1 min read