Function deus_nqueens::n_bishops_backtrack
source · pub fn n_bishops_backtrack(size: usize) -> impl Iterator<Item = NBishopsState>
Expand description
O(n × n!) time to find all solutions
pub fn n_bishops_backtrack(size: usize) -> impl Iterator<Item = NBishopsState>
O(n × n!) time to find all solutions