Explain Backtracking
The principal idea is to construct solutions single component at a time and evaluate such partially constructed candidates as follows.
If a partially constructed solution can be developed further without violating the problem's constraints, it is completed by taking the first remaining legitimate option for the next component.
If there is no legitimate option for the next component, no alternatives for any remaining component require to be considered.