How I Won the APL Problem Solving Competition
summary
Grand prize winner explains how a Dyalog APL solution handles two Phase 2 problems: an extended reshape with negative axes that supports -axis reversal plus 0.5/1.5/2.5 semantics (truncate, repeat, pad) implemented as a composable pipeline without explicit guards, and a base85 encoder/decoder operator that maps between base-85 and bytes, pads/filters invalid chars, and generalizes to other byte/char widths. Code uses trains, combinators and iota indexing, runs in the interpreter during the contest, and proved robust enough to win.
AI-written summary · about
