solve double-degree array