Depth-first search in APL

DyalogLength: 12 minutesAlgorithms & data structures

In brief

John Scholes builds a depth-first tree-search operator step by step in a Dyalog APL session. It covers higher-order functions and runs the search on the N-Queens problem.