SlideShare a Scribd company logo
8 Queen
Problems
Nagajothi N 1M.sc.,IT
Department of
Information
Technology
VVV College for
women
Backtracking
 Backtracking can be defined as
general algorithmic technique that
considers searching every possible
combination inorder to solve a
computation problem
 Backtracking can be used to solve
puzzles or problems
● Crosswords
● Verbal arithmetic
● Sudoku
● Peg solitaire
Backtracking can be used to
solve puzzles or problems
includes
● The eight queen puzzle is the problems
of placing eight chess queen on 8x8
chess bored so that no two queens
attack each other
● A solution requires that no two queens
share the same row, column or diagonal
● The eight queen puzzle is an example of
the more general n-queen problems of
placing n queen on nxn chess bored,
where solution exist for all natural
numbers n with the exception of 1,2 and
3.
● The solution possibilities are discovered
only up to 23 queen
The 8 queen problems
States:
 Any arrangement of 0 to 8 queens
on the bored
Initial state
 0 queens on the bored
Successor functions
 Add a queen in any square
Goal test
 8 queens on the bored non
attacked
Formulation
• occurs while using infected water for
drinking, food preparation, and washing
clothes, among others
● Climate change plays a crucial role in
the outbreaks of such infections.
● Major precipitation events such as
heavy rains or snowfall increase the
risk of the water-borne diseases
● Natural calamities such as
earthquakes or major cyclones often
cause drastic changes in the
ecosystem of the water bodies
● Sometimes, the newly created
environment (pH, temperature, etc.) is
favourable for the growth of a particular
type of pathogen.
Transmission of
these pathogens
Thankyou

More Related Content

What's hot

S ramanujan
S ramanujanS ramanujan
S ramanujan
Mitesh Katira
 
Ramanujan magic-square
Ramanujan magic-squareRamanujan magic-square
Ramanujan magic-squareelderprincess
 
Mathematician ramanujan's square
Mathematician ramanujan's squareMathematician ramanujan's square
Mathematician ramanujan's square
Kumaravel Jothi
 
Welcome ranjith
Welcome ranjithWelcome ranjith
Welcome ranjith
Ranjithnair Mc
 
3.1 solving systems graphically
3.1 solving systems graphically3.1 solving systems graphically
3.1 solving systems graphicallyfthrower
 
11X1 T09 08 implicit differentiation (2010)
11X1 T09 08 implicit differentiation (2010)11X1 T09 08 implicit differentiation (2010)
11X1 T09 08 implicit differentiation (2010)Nigel Simmons
 

What's hot (8)

S ramanujan
S ramanujanS ramanujan
S ramanujan
 
Ramanujan magic-square
Ramanujan magic-squareRamanujan magic-square
Ramanujan magic-square
 
Solve systemsbygraphing
Solve systemsbygraphingSolve systemsbygraphing
Solve systemsbygraphing
 
Mathematician ramanujan's square
Mathematician ramanujan's squareMathematician ramanujan's square
Mathematician ramanujan's square
 
Assure method
Assure methodAssure method
Assure method
 
Welcome ranjith
Welcome ranjithWelcome ranjith
Welcome ranjith
 
3.1 solving systems graphically
3.1 solving systems graphically3.1 solving systems graphically
3.1 solving systems graphically
 
11X1 T09 08 implicit differentiation (2010)
11X1 T09 08 implicit differentiation (2010)11X1 T09 08 implicit differentiation (2010)
11X1 T09 08 implicit differentiation (2010)
 

More from NagajothiN1

Apache Oozie
Apache OozieApache Oozie
Apache Oozie
NagajothiN1
 
mobile jammer
mobile jammermobile jammer
mobile jammer
NagajothiN1
 
Version control libraries
Version control librariesVersion control libraries
Version control libraries
NagajothiN1
 
Designing data marts
Designing data marts Designing data marts
Designing data marts
NagajothiN1
 
Over view of data structures
Over view of data structuresOver view of data structures
Over view of data structures
NagajothiN1
 
Expression tree
Expression treeExpression tree
Expression tree
NagajothiN1
 
Over view of data structures
Over view of data structuresOver view of data structures
Over view of data structures
NagajothiN1
 
Over view of data structures
Over view of data structuresOver view of data structures
Over view of data structures
NagajothiN1
 
Over view of data structures
Over view of data structuresOver view of data structures
Over view of data structures
NagajothiN1
 
Over view of data structures
Over view of data structuresOver view of data structures
Over view of data structures
NagajothiN1
 

More from NagajothiN1 (10)

Apache Oozie
Apache OozieApache Oozie
Apache Oozie
 
mobile jammer
mobile jammermobile jammer
mobile jammer
 
Version control libraries
Version control librariesVersion control libraries
Version control libraries
 
Designing data marts
Designing data marts Designing data marts
Designing data marts
 
Over view of data structures
Over view of data structuresOver view of data structures
Over view of data structures
 
Expression tree
Expression treeExpression tree
Expression tree
 
Over view of data structures
Over view of data structuresOver view of data structures
Over view of data structures
 
Over view of data structures
Over view of data structuresOver view of data structures
Over view of data structures
 
Over view of data structures
Over view of data structuresOver view of data structures
Over view of data structures
 
Over view of data structures
Over view of data structuresOver view of data structures
Over view of data structures
 

Recently uploaded

Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 

Recently uploaded (20)

Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 

8 queen problem

  • 1. 8 Queen Problems Nagajothi N 1M.sc.,IT Department of Information Technology VVV College for women
  • 2. Backtracking  Backtracking can be defined as general algorithmic technique that considers searching every possible combination inorder to solve a computation problem  Backtracking can be used to solve puzzles or problems
  • 3. ● Crosswords ● Verbal arithmetic ● Sudoku ● Peg solitaire Backtracking can be used to solve puzzles or problems includes
  • 4.
  • 5. ● The eight queen puzzle is the problems of placing eight chess queen on 8x8 chess bored so that no two queens attack each other ● A solution requires that no two queens share the same row, column or diagonal ● The eight queen puzzle is an example of the more general n-queen problems of placing n queen on nxn chess bored, where solution exist for all natural numbers n with the exception of 1,2 and 3. ● The solution possibilities are discovered only up to 23 queen The 8 queen problems
  • 6. States:  Any arrangement of 0 to 8 queens on the bored Initial state  0 queens on the bored Successor functions  Add a queen in any square Goal test  8 queens on the bored non attacked Formulation
  • 7. • occurs while using infected water for drinking, food preparation, and washing clothes, among others ● Climate change plays a crucial role in the outbreaks of such infections. ● Major precipitation events such as heavy rains or snowfall increase the risk of the water-borne diseases ● Natural calamities such as earthquakes or major cyclones often cause drastic changes in the ecosystem of the water bodies ● Sometimes, the newly created environment (pH, temperature, etc.) is favourable for the growth of a particular type of pathogen. Transmission of these pathogens