please help me in solving this question and check my code.
@kodivine0 check out this corrected code using backtracking
https://ide.codingblocks.com/s/216409
well, thanks for helping me!