Quest 8: The Art of Connection
- Keep top level comments as only solutions, if you want to say something other than a solution put it in a new post. (replies to comments can be whatever)
- You can send code in code blocks by using three backticks, the code, and then three backticks or use something such as https://topaz.github.io/paste/ if you prefer sending it through a URL
Link to participate: https://everybody.codes/


Common Lisp’s
loopmacro has a pretty crazy list of features. New ones in this solution arefor x on xs, which binds the iteration variablexto successive tails (instead of elements) ofxs, andmaximize, which is an alternative accumulator tosum. There’s nothing interesting about the solution itself though – simple brute-force enumeration.