I was thinking about doing a problem for heteroglot â my quest to solve every Project Euler problem in a different programming language. (Theyâre adding new problems much more quickly than Iâm solving them, so so far Iâve made negative progress.) Then I discovered Iâd already done two, but never wrote about either of them. Oops! Hereâs a twofer, then.
This post necessarily gives away the answers, so donât read this if youâd like to solve the problems yourself.