Skip to content
Courses
DSA to Development
For Working Professionals
Data Structure & Algorithm Classes (Live)
System Design (Live)
JAVA Backend Development(Live)
DevOps(Live)
Data Structures & Algorithms in Python
For Students
Interview Preparation Course
GATE DS & AI 2024
Data Science (Live)
Data Structure & Algorithm-Self Paced(C++/JAVA)
Master Competitive Programming(Live)
Full Stack Development with React & Node JS(Live)
For School Students
CBSE Class 12 Computer Science
School Guide
Python Programming Foundation
All Courses
Tutorials
Data Structures & Algorithms
DSA for Beginners
Data Structures
Arrays
Matrix
Strings
Linked List
Singly Linked List
Doubly Linked List
Circular Linked List
Doubly Circular Linked List
Linked List Tutorial
Stack
Queue
Tree
Generic Tree
Binary Tree
Binary Search Tree
AVL Tree
B Tree
B+ Tree
Red Black Tree
Tree Data Structure Tutorial
Heap
Hashing
Graph
Set Data Structure
Map Data Structure
Advanced Data Structure
Data Structures Tutorial
Algorithms
Analysis of Algorithms
Design and Analysis of Algorithms
Asymptotic Analysis
Asymptotic Notations
Worst, Average and Best Cases
Searching Algorithms
Linear Search
Binary Search
Searching Algorithms Tutorial
Sorting Algorithms
Selection Sort
Bubble Sort
Insertion Sort
Merge Sort
Quick Sort
Heap Sort
Counting Sort
Radix Sort
Bucket Sort
Sorting Algorithms Tutorial
Greedy Algorithms
Dynamic Programming
Graph Algorithms
Pattern Searching
Recursion
Backtracking
Divide and Conquer
Mathematical Algorithms
Geometric Algorithms
Bitwise Algorithms
Randomized Algorithms
Branch and Bound
Algorithms Tutorial
Complete DSA Tutorial
Competitive Programming
Company Wise SDE Sheets
Facebook SDE Sheet
Amazon SDE Sheet
Apple SDE Sheet
Netflix SDE Sheet
Google SDE Sheet
Wipro Coding Sheet
Infosys Coding Sheet
TCS Coding Sheet
Cognizant Coding Sheet
HCL Coding Sheet
DSA Cheat Sheets
DSA Sheet for Beginners
SDE Sheets
FAANG Coding Sheet
Love Babbaar Sheet
Mass Recruiter Sheet
Product-Based Coding Sheet
Company-Wise Preparation Sheet
Top Interview Questions
Top 100 DSA Interview Questions Topic-wise
Top 50 Array Problems
Top 50 String Problems
Top 50 Stack Problems
Top 50 Heap Problems
Top 50 Linked List Problems
Top 50 Tree Problems
Top 50 Graph Problems
Top 50 Problems on Recursion Algorithms
Top 20 Interview Questions on Greedy Algorithms
Top 20 Interview Questions on Dynamic Programming
Top 50 Problems on Dynamic Programming (DP)
Top 20 Interview Questions on Hashing
Interview Questions on Top 10 Algorithms
Commonly Asked Data Structure Interview Questions
DSA Blogs
Puzzles
All Puzzles
Top 100 Puzzles Asked In Interviews
Top 20 Puzzles Commonly Asked During SDE Interviews
Top MCQs on Puzzles with Answers
Crossword Puzzle Of The Week
ML & Data Science
Learn Python
Machine Learning
Machine Learning Tutorial
Maths for ML
ML Projects
Data Science using Python
Data Science using R
Data Science Packages
Pandas Tutorial
NumPy Tutorial
Data Visualization
Data Visualization with Python
Python Data Visualization Tutorial
Matplotlib Tutorial
Bokeh Tutorial
Plotly Tutorial
Seaborn Tutorial
Data Visualization with R
Data Visualization with R
Plotly Tutorial
ggplot Tutorial
Data Visualization Tools
Tableau
Power BI
Data Analysis
Data Analysis with Python
Data Analysis with R
Deep Learning
Deep Learning Tutorial
Deep Learning Projects
NLP Tutorial
OpenCV Tutorial
Interview Questions
Machine Learning Interview Question
Deep Learning Interview Question
Python Interview Questions
Top 50 R Interview Questions
ML Frameworks
Tensorflow
PyTorch
PyTorch Lightning
System Design
System Design Tutorial
What is System Design
Key Terminologies in System Design
Analysis and Architecture of Systems
Scalability in System Design
Databases in System Design
High Level Design or HLD
Low Level Design or LLD
Communication Protocols
Web Servers and Proxies
Case Studies in Designing Systems
Complete System Design Tutorial
Software Design Patterns
Factory Pattern
Observer Pattern
Singleton Design Pattern
Decorator Pattern
Strategy Pattern
Adapter Pattern
Command Pattern
Iterator Pattern
Prototype Design Pattern
All Design Patterns
System Design Roadmap
Top 10 System Design Interview Questions and Answers
Interview Corner
Company Preparation
Top Topics
Practice Company Questions
Interview Experiences
Experienced Interviews
Internship Interviews
Competitive Programming
Multiple Choice Quizzes
Aptitude for Placements
Languages
C
C++
Java
Python
JavaScript
PHP
R Tutorial
C#
SQL
Scala
Perl
Go Language
Kotlin
Web Development
HTML
HTML Tutorial
Free HTML Course
HTML Cheat Sheet
CSS
CSS Tutorial
Free CSS Course
CSS Cheat Sheet
CSS Preprocessors
SASS
LESS
JavaScript
JavaScript Tutorial
JavaScript Programs
JavaScript Questions
JavaScript Cheat Sheet
DSA using JavaScript
Free JavaScript Course
JavaScript A to Z Complete Guide
ReactJS
ReactJS Tutorial
Free ReactJS Course
ReactJS Frameworks
NextJS
React Material UI
React Bootstrap
React Suite
Ant Design
ReactJS Reactstrap
BlueprintJS
Node.js
Node.js Tutorial
Express.js
PHP
PHP Tutorial
PHP Programming Examples
AngularJS
AngularJS Tutorial
AngularJS Cheat Sheet
AngularJS Frameworks
Angular PrimeNG
Angular ngx Bootstrap
jQuery
jQuery Tutorial
jQuery Cheat Sheet
jQuery Frameworks
jQuery UI
jQuery Mobile
jQwidget
TypeScript
JSON
CSS Frameworks & Libraries
Bootstrap
Bootstrap Tutorial
Bootstrap 5
Bootstrap Cheat Sheet
Tailwind CSS
Bulma
Pure CSS
Materialize CSS
Foundation
Semantic UI
Primer CSS
Spectre CSS
JS Other Frameworks & Libraries
Lodash
D3.js
Vue.js
Underscore.js
TensorFlow.js
Collect.js
Fabric.js
p5.js
Web Development In Python
Django
Getting started with Django
Create an App in Django
Views In Django
Django Templates
Django URL patterns
Django Admin Interface
Django Models
Django Database
Mysql database with Django
PostgreSQL Database in Django
MongoDB with Django
Django CRUD
Django Forms
Django Static File
Projects for Beginners
Django Interview Questions
Django Tutorial
Flask
Web Development Using Flask
Flask App Routing
URL building in Flask
Flask Templates
Templating With Jinja2 in Flask
Database with Flask SQL Alchemy
Authentication with Flask
WTForms in Flask
Static files in Flask
Python Flask Projects
Flask Interview Questions
Frontend Projects
Building a Survey Form using HTML and CSS
Food delivery system using HTML and CSS
ToDo webapp using Django
Building Blog CMS
add Pagination in Django
Tailwind CSS with Django
Django with Reactjs
Postman
Github
CS Subjects
Mathematics
Operating System
DBMS
Computer Networks
Computer Organization and Architecture
Theory of Computation
Compiler Design
Digital Logic
Software Engineering
DevOps
GIT
AWS
Docker
Kubernetes
Microsoft Azure Tutorial
Google Cloud Platform
School Learning
English Grammar
School Programming
Mathematics
Number System
Algebra
Linear Algebra
Trigonometry
Set Theory
Statistics
Probability
Geometry
Mensuration
Logarithms
Calculus
CBSE Syllabus
Class 8 Syllabus
Class 9 Syllabus
Class 10 Syllabus
Class 11 Syllabus
Class 12 Syllabus
Maths Notes (Class 8-12)
Class 8 Notes
Class 9 Notes
Class 10 Notes
Class 11 Notes
Class 12 Notes
Maths Formulas (Class 8 -11)
Class 8 Formulas
Class 9 Formulas
Class 10 Formulas
Class 11 Formulas
Math Calculators
NCERT Solutions
Class 8 Maths Solution
Class 9 Maths Solution
Class 10 Maths Solution
Class 11 Maths Solution
Class 12 Maths Solution
RD Sharma Solutions
Class 8 Maths Solution
Class 9 Maths Solution
Class 10 Maths Solution
Class 11 Maths Solution
Class 12 Maths Solution
Science Notes
Class 8 Notes
Class 9 Notes
Class 10 Notes
Physics Notes (Class 8-12)
Class 8 Notes
Class 9 Notes
Class 10 Notes
Class 11 Notes
Class 12 Notes
Chemistry Notes (Class 8-12)
Class 8 Notes
Class 9 Notes
Class 10 Notes
Class 11 Notes
Class 12 Notes
Biology Notes (Class 8-12)
Class 8
Class 9
Class 10
Class 11
Class 12
Social Science Syllabus
Class 7 SS Syllabus
Class 8 SS Syllabus
Class 9 SS Syllabus
Class 10 SS Syllabus
Social Science Notes
SS Notes (Class 7-12)
Class 7 Notes
Class 8 Notes
Class 9 Notes
Class 10 Notes
CBSE History Notes (Class 7-10)
History Class 7
History Class 8
History Class 9
CBSE Geography Notes (Class 7-10)
Geo. Class 7
Geo. Class 8
Geo. Class 9
CBSE Civics Notes (Class 7-10)
Civics Class 7
Civics Class 8
CBSE Previous Year Papers
Maths
Physics
History
Georgraphy
Political Science
Economics
Commerce
Business Studies
Class 11th Notes
Class 12th Notes
Business Studies Complete Guide
Accountancy
Class 11th Notes
Class 12th Notes
Accountancy Complete Guide
Microeconomics
Class 11th Notes
Microeconomics Complete Guide
Statistics for Economics
Class 11th Notes
Statistics for Economics Complete Guide
Macroeconomics
Class 12th notes
Macroeconomics Complete Guide
Indian Economic Development
Class 12th Notes
Indian Economic Development Complete Guide
Human Resource Management (HRM)
Management
Income Tax
Finance
Commerce Complete Guide
GATE
GATE CS/IT Test Series 2024
GATE Computer Science Notes
Last Minute Notes
GATE CS Solved Papers
GATE CS Original Papers and Official Keys
GATE CS 2024 Syllabus
GATE 2024 Important Dates
GATE Data Science and AI 2024
Other CS Exams
ISRO
ISRO CS Original Papers and Official Keys
ISRO CS Solved Papers
ISRO CS Syllabus for Scientist/Engineer Exam
UGC NET
UGC NET CS Notes Paper II
UGC NET CS Notes Paper III
UGC NET CS Solved Papers
Banking Exams Study Material
RRB Clerk 2023 Exam
SBI Clerk
SBI Clerk Syllabus
General Awareness
English
Quantitative Aptitude
Reasoning Ability
SBI Clerk Practice Papers
SBI PO
SBI PO Syllabus
General Awareness
English
Quantitative Aptitude
Reasoning Ability
Previous Year Papers
SBI PO Practice Papers
IBPS PO
IBPS PO 2022 Syllabus
English Notes
Reasoning Notes
Previous Year Papers
Mock Question Papers
General Awareness
IBPS Clerk
IBPS Clerk Syllabus
English Notes
Previous Year Papers
UPSC Study Material
Geography Notes
History Notes
Modern Indian History Notes
Medieval Indian History Notes
Ancient Indian History Notes
Complete History Notes
Science & Tech. Notes
Ethics Notes
Polity Notes
Economics Notes
Government Schemes (Updated)
UPSC Previous Year Papers
SSC CGL Study Material
SSC CGL Syllabus
General Studies
English
Reasoning
Subjectwise Practice Papers
Previous Year Papers
SEO-Search Engine Optimization
What is SEO
Search Engine Optimization Basics
Types of SEO
Keyword Optimization in SEO
Backlinks in SEO
SEO Blogs
Mobile SEO
SEO Complete Reference
Student
Campus Ambassador Program
School Ambassador Program
Project
Geek of the Month
Campus Geek of the Month
Placement Course
Competitive Programming
Testimonials
Student Chapter
Geek on the Top
Internship
Careers
Jobs
Get Hired: Apply for Jobs
Corporate Hiring Solutions
Practice
All DSA Problems
Problem of the Day
GFG SDE Sheet
Curated DSA Lists
Beginner's DSA Sheet
Love Babbar Sheet
Top 50 Array Problems
Top 50 String Problems
Top 50 DP Problems
Top 50 Graph Problems
Top 50 Tree Problems
Contests
GATE All India Mock Tests
HackFest Delhi Hack-A-Thon
GfG Weekly Coding Contest
Hiring Contest for Professionals
All Contests and Events
Home
Saved Videos
Courses
Data Structures and Algorithms
DSA Tutorial
Data Structures Tutorial
Algorithms Tutorial
Top 100 DSA Interview Questions
DSA-Roadmap[Basic-to-Advanced]
ML & Data Science
Learn Python
Data Science Tutorial
Machine Learning Tutorial
Deep Learning Tutorial
NLP Tutorial
Computer Vision Tutorial
Web Development
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
ReactJS Tutorial
NodeJS Tutorial
Languages
C
C++
Java
R Tutorial
Golang
Interview Corner
Company Interview Corner
Experienced Interviews
Internship Experiences
Practice Company Questions
Competitive Programming
CS Subjects
Operating Systems
DBMS
Computer Networks
Software Engineering
Software Testing
Jobs
Get Hired: Apply for Jobs
Job-a-thon: Hiring Challenge
Corporate Hiring Solutions
Practice
All DSA Problems
Problem of the Day
GFG SDE Sheet
Beginner's DSA Sheet
Love Babbar Sheet
Top 50 Array Problems
Top 50 String Problems
Top 50 DP Problems
Top 50 Graph Problems
Top 50 Tree Problems
Contests
World Cup Hack-A-Thon
GFG Weekly Coding Contest
Job-A-Thon: Hiring Challenge
BiWizard School Contest
All Contests and Events
GBlog
Puzzles
What's New ?
Change Language
Trending Now
Data Structures
Algorithms
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
Java
C
C++
ReactJS
NodeJS
Web Development
Web Design
Web Browser
CP Live
Aptitude
Puzzles
Projects
DSA
System Design
Software Development
Product Management
SAP
SEO
▲
Similar Topics
DSA
21.1k+ articles
Mathematical
7.6k+ articles
Arrays
6.4k+ articles
Greedy
2k+ articles
Competitive Programming
1.5k+ articles
Matrix
1.2k+ articles
Recursion
980+ articles
Pattern Searching
570+ articles
Backtracking
200+ articles
Game Theory
120+ articles
chessboard-problems
40 posts
Popular Articles
Recent Articles
N-Queen Problem | Local Search using Hill climbing with random neighbour
Last Updated: 27 November 2023
The N Queen is the problem of placing N chess queens on an N×N chessboard so that no two queens attack each other.For example, the followin
...read more
Arrays
Backtracking
Mathematical
chessboard-problems
DSA
Draw a Chess Board using Graphics Programming in C
Last Updated: 21 June 2020
Prerequisite: graphics.h, How to include graphics.h in CodeBlocks?In Computer Graphics, we use graphics.h which provide direct functions to
...read more
Project
Computer Subject
C Language
c-graphics
chessboard-problems
Check if a Queen can attack a given cell on chessboard
Last Updated: 21 September 2022
Given the position of the queen (qX, qY) and the opponent (oX, oY) on a chessboard. The task is to determine whether the queen can attack th
...read more
Cisco
Competitive Programming
chessboard-problems
DSA
Similar Topics
DSA
21.1k+ articles
Mathematical
7.6k+ articles
Arrays
6.4k+ articles
Greedy
2k+ articles
Competitive Programming
1.5k+ articles
Matrix
1.2k+ articles
Recursion
980+ articles
Pattern Searching
570+ articles
Backtracking
200+ articles
Game Theory
120+ articles
Minimum steps to reach target by a Knight | Set 2
Last Updated: 24 March 2023
Given a square chessboard of N x N size, the position of Knight and position of a target is given, the task is to find out the minimum steps
...read more
Algorithms
Dynamic Programming
Algorithms-Dynamic Programming
chessboard-problems
DSA
N Queen in O(n) space
Last Updated: 30 April 2023
Given n, of a n x n chessboard, find the proper placement of queens on chessboard.Previous Approach : N QueenAlgorithm :Place(k, i)// Return
...read more
Backtracking
Matrix
Recursion
chessboard-problems
DSA
Possible moves of knight
Last Updated: 20 March 2023
Given a chess board of dimension m * n. Find number of possible moves where knight can be moved on a chessboard from given position. If mat[
...read more
Matrix
chessboard-problems
DSA
Number of cells a queen can move with obstacles on the chessboard
Last Updated: 15 September 2023
Consider a N X N chessboard with a Queen and K obstacles. The Queen cannot pass through obstacles. Given the position (x, y) of Queen, the t
...read more
Matrix
chessboard-problems
DSA
Warnsdorff's algorithm for Knight’s tour problem
Last Updated: 26 June 2023
Problem : A knight is placed on the first block of an empty board and, moving according to the rules of chess, must visit each square exactl
...read more
Backtracking
chessboard-problems
DSA
Minimum steps to reach target by a Knight | Set 1
Last Updated: 13 September 2023
Given a square chessboard of N x N size, the position of the Knight and the position of a target are given. We need to find out the minimum
...read more
Amazon
Graph
Linkedin
MakeMyTrip
Queue
BFS
chessboard-problems
DSA
Printing all solutions in N-Queen Problem
Last Updated: 09 October 2023
The N Queen is the problem of placing N chess queens on an N×N chessboard so that no two queens attack each other. For example, the followi
...read more
Backtracking
Matrix
chessboard-problems
DSA
Probability of Knight to remain in the chessboard
Last Updated: 19 April 2021
Given an NxN chessboard and a Knight at position (x,y). The Knight has to take exactly K steps, where at each step it chooses any of the 8 d
...read more
Amazon
Directi
Dynamic Programming
Probability
chessboard-problems
DSA
N Queen Problem using Branch And Bound
Last Updated: 20 September 2023
TheN queens puzzleis the problem of placing Nchessqueenson an N×N chessboard so that no two queens threaten each other. Thus, a solution re
...read more
Branch and Bound
chessboard-problems
DSA
N Queen Problem
Last Updated: 03 October 2023
We have discussed Knight’s tour and Rat in a Maze problem earlier as examples of Backtracking problems. Let us discuss N Queen as another
...read more
Amazon
Twitter
Accolite
MAQ Software
Visa
Backtracking
Amdocs
chessboard-problems
DSA
The Knight's tour problem
Last Updated: 12 January 2023
Backtracking is an algorithmic paradigm that tries different solutions until finds a solution that "works". Problems that are typically solv
...read more
Amazon
Backtracking
Mathematical
chessboard-problems
DSA
8 queen problem
Last Updated: 08 March 2023
The eight queens problem is the problem of placing eight queens on an 8×8 chessboard such that none of them attack one another (no two are
...read more
Backtracking
chessboard-problems
DSA
1
2
3
4
>>
Last
1
2
3
4
>>
Last
1
2
3
4
>>
Last
Courses
1095k+ interested Geeks
Data Structures and Algorithms - Self Paced
Explore
39k+ interested Geeks
DSA for Interview Preparation
Explore
205k+ interested Geeks
Data Structures & Algorithms in Python - Self Paced
Explore
Recently Published
Top 10 VS Code Extensions For Data Science
Read
How to Choose the Right Backend Technology?
Read
Top 10 Redux Alternatives For State Management
Read
How To Clear DNS Cache on Android Device?
Read
Python For DevOps:  A Complete Guide For Beginners
Read
Top 10 Power BI Project Ideas For Data Science
Read
Python vs Java Full Stack Developer
Read
10 Best Software Testing Tools For QA
Read
Top 10 Full Stack Developer Frameworks
Read
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !