LeetCode 2601. Prime Subtraction Operation in F#
URL
Prime Subtraction Operation - LeetCode
Code
https://github.com/syohex/dotnet-study/tree/master/fsharp/leetcode/challenge/202411/prime_subtraction_operation/main.fsx
open System
let isPrime (n: int) : bool =
if n <= 1 then
false
e...
syohex.hashnode.dev1 min read