Is it the hardest programming puzzle I've ever seen? No. Would it be a fun diversion on a subway ride? Yes (the first time at least). It's one of the trickier subway ads I've ever seen - not the hardest mind you - that was on the Paris Metro; I'm still not sure if it was an ad for beard combs or funerals.

Anyway, I was hoping you'd have re-written it by now in a purely functional way.

--

--

I’m a Lead Developer at Flick Electric where I write mostly Ruby on Rails. I also dabble in any language that takes my fancy.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adam Henley (He/Him)

I’m a Lead Developer at Flick Electric where I write mostly Ruby on Rails. I also dabble in any language that takes my fancy.