DEV Community

loading...

Discussion on: Coding Puzzles: Week of 4/8

Collapse
mihassan profile image
Md Imrul Hassan

Same idea in Haskell:

import Data.Bits

stray :: [Int] -> Int
stray = foldl1 xor