Quiz: Backtracking
Reinforce your understanding of backtracking algorithms and their applications in problem solving.
1
In the queens problem, why do we keep an array ?
A)
To store the number of rows
B)
To keep a record of which square in each row keeps a queen
C)
To change columns
D)
To keep the loop running
Question 1 of 50 attempted
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy