DEV Community

Discussion on: Daily Challenge #76 - Bingo! (or not...)

Collapse
 
karthicktamil17 profile image
karthick rajan

Solved with Purescript

bingo :: Set Int -> Boolean
bingo input =
subset (fromFoldable [ 2, 9, 14, 7, 15 ]) (fromFoldable input)