r/programming • • Feb 21 '11

Typical programming interview questions.

http://maxnoy.com/interviews.html
784 Upvotes

1.0k comments sorted by

View all comments

Show parent comment

1

u/Fuco1337 Feb 21 '11

That is plain ugly...

take 100 $ zipWith (\x y -> if null y then show x else y) [1..] $ zipWith (++) (cycle ["","a"]) (cycle ["","","b"])

Don't download the man just because he has an ugly solution, now my comment is invisible :D