Scaffolded recursive solver method.