I am trying to solve Knights tour using backtracking for 5*5 board. My code doesn't seem to work fine. I double checked the logic and implementation but I couldn't find where the bug is. Please help me locate it. #include <bits/stdc++.h> using namespace std; #define size 5 int dr[] = {1,1,2,2,-1,-1,-2,-2}; int dc[] = {2,-2,1,-1,2,-2,1,-1}; bool check(int r,…