3 ms·
I feel like it'd be entirely acceptable to load the inputs into tables first and still qualify as pure sql, because string parsing in sql is so blergh
by taberiand 2y ago
I feel like it'd be entirely acceptable to load the inputs into tables first and still qualify as pure sql, because string parsing in sql is so blergh
- fifilura 2y agoInput in AoC is always well-formed. And you can always use a regexp? Seems like the smallest problem to me. As soon as you get past that recursive one row per line trick in the posted solutions
- taberiand 2y agoObviously it's possible, particularly in this context, but generally speaking I'd rather avoid it.