Master AI and Machine Learning: From Neural Networks to Applications
Get 20% off all career paths from fullstack to AI
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
The course introduces recursion and backtracking through N-Queens, N-Knights, and Sudoku Solver problems. It walks through implementations and complexity analysis.
Syllabus
Introduction
Q1 : N-Queens Problem
How to determine if a problem is of recursion and backtracking?
Code for N-Queens Problem
Complexity Analysis Correction: Linear Recurrence Relation Method*
How to eliminate for loops?
Q2 : N-Knights Problem
Code for N-Knights Problem
Q3 : Sudoku Solver Problem LeetCode
Code for Sudoku Solver Problem
Correction: board[row][i] == num
Code for Sudoku Solver Problem
Complexity Analysis for Sudoku Solver Problem
Outro
Taught by
Kunal Kushwaha