3 ms·The comments on the article include two more nice Haskell solutions (with much better speed).by Y_Y 8y agoThe comments on the article include two more nice Haskell solutions (with much better speed).