r/programming • • May 08 '15

Five programming problems every Software Engineer should be able to solve in less than 1 hour

https://blog.svpino.com/2015/05/07/five-programming-problems-every-software-engineer-should-be-able-to-solve-in-less-than-1-hour
2.5k Upvotes

2.1k comments sorted by

View all comments

2

u/Confusion May 08 '15

Problem 2 is actually impossible in Haskell.

2

u/mplsmesh May 08 '15

Can you expand on this? My first thought would be to use matching, like in ML, but I don't know any haskell so I could be wrong (though a quick search seems to imply matching is functionality haskell has).

→ More replies (4)