Fork me on GitHub

BONUS for day10: Make a lazy-seq of all arrangements. You just dropped a bunch of your jolts on the airport toilet floor and some will take days to dry, and you can’t tell which ones have their circuits shorted. Since you need something fast and the basic sequence (all jolts in order) and likely many others are not usable, you gotta try a whole bunch of arrangements in a hurry in order to plug your device... ;)