SlideShare a Scribd company logo
1 of 11
BACKTRACKING
STRUCTURE

»   Introduction
»   Rules
»   Practice Questions
INTRODUCTION
»   Way to make graph easily
»   Use of 3 Basic Colors (R,G,B)
»   Removing conflicts
RULES
»   Restriction for using 3 colors
»   No Conflict
»   Back Track
Cont…

Color this graph:
Practice Question
i)    Back Tracking:
A–R
                        A       B
B–R B–G

                            D
C–R C–G C–B                         C
                    F
          D–R D–G
                        E
              E–R
              F–B
Cont…
ii)   Back Tracking:
      E–R
                            B–B
A–R
      F–R F–G                         B       F
D–G
            C–R C–B
E–B
        F–G                       A       D
F–R
                            F–B                   E

         C – R C – BC – G

                                      C
C–R C–B     C–G
Cont…
iii) Back Tracking:
      C–R         E–B
A–R                                  E       D
      F–R F–G
B–G
            D–R D–B              F
C–B
        F–G           G–B                A   B   C
F–R
                                     G
        D – R D – BD – G

D–R D–B     D–G       F–B

            D–R D–B        D–G
Cont…
iv) Back Tracking:
      D–R        C–R
G–R                                   G
      B–R B–B
E–B
            A–R A–G
D–G                               A       E
        B–G           F–G                     F
B–R
                       B–B
                              C   B   D
            A–R A– B    A–G
A–R A–B     A–G
Backtracking
Backtracking

More Related Content

What's hot

[Question Paper] Multimedia (Revised Course) [April / 2015]
[Question Paper] Multimedia (Revised Course) [April / 2015][Question Paper] Multimedia (Revised Course) [April / 2015]
[Question Paper] Multimedia (Revised Course) [April / 2015]Mumbai B.Sc.IT Study
 
Extend R with C!!!
Extend R with C!!!Extend R with C!!!
Extend R with C!!!mickey24
 
[Question Paper] Data Communication and Network Standards (Revised Course) [J...
[Question Paper] Data Communication and Network Standards (Revised Course) [J...[Question Paper] Data Communication and Network Standards (Revised Course) [J...
[Question Paper] Data Communication and Network Standards (Revised Course) [J...Mumbai B.Sc.IT Study
 
Geographic Information System (April – 2013) [Revised Syllabus | Question Paper]
Geographic Information System (April – 2013) [Revised Syllabus | Question Paper]Geographic Information System (April – 2013) [Revised Syllabus | Question Paper]
Geographic Information System (April – 2013) [Revised Syllabus | Question Paper]Mumbai B.Sc.IT Study
 
[Question Paper] Operating System (Old Course) [June / 2014]
[Question Paper] Operating System (Old Course) [June / 2014][Question Paper] Operating System (Old Course) [June / 2014]
[Question Paper] Operating System (Old Course) [June / 2014]Mumbai B.Sc.IT Study
 
Geographic Information System (April – 2017) [75:25 Pattern | Question Paper]
Geographic Information System (April – 2017) [75:25 Pattern | Question Paper]Geographic Information System (April – 2017) [75:25 Pattern | Question Paper]
Geographic Information System (April – 2017) [75:25 Pattern | Question Paper]Mumbai B.Sc.IT Study
 
Abstract reasoning
Abstract reasoningAbstract reasoning
Abstract reasoningJona_joy
 
Abstract reasoning 2
Abstract reasoning 2Abstract reasoning 2
Abstract reasoning 2Raquel Rarang
 

What's hot (10)

[Question Paper] Multimedia (Revised Course) [April / 2015]
[Question Paper] Multimedia (Revised Course) [April / 2015][Question Paper] Multimedia (Revised Course) [April / 2015]
[Question Paper] Multimedia (Revised Course) [April / 2015]
 
Extend R with C!!!
Extend R with C!!!Extend R with C!!!
Extend R with C!!!
 
[Question Paper] Data Communication and Network Standards (Revised Course) [J...
[Question Paper] Data Communication and Network Standards (Revised Course) [J...[Question Paper] Data Communication and Network Standards (Revised Course) [J...
[Question Paper] Data Communication and Network Standards (Revised Course) [J...
 
Geographic Information System (April – 2013) [Revised Syllabus | Question Paper]
Geographic Information System (April – 2013) [Revised Syllabus | Question Paper]Geographic Information System (April – 2013) [Revised Syllabus | Question Paper]
Geographic Information System (April – 2013) [Revised Syllabus | Question Paper]
 
[Question Paper] Operating System (Old Course) [June / 2014]
[Question Paper] Operating System (Old Course) [June / 2014][Question Paper] Operating System (Old Course) [June / 2014]
[Question Paper] Operating System (Old Course) [June / 2014]
 
Geographic Information System (April – 2017) [75:25 Pattern | Question Paper]
Geographic Information System (April – 2017) [75:25 Pattern | Question Paper]Geographic Information System (April – 2017) [75:25 Pattern | Question Paper]
Geographic Information System (April – 2017) [75:25 Pattern | Question Paper]
 
Abstract reasoning
Abstract reasoningAbstract reasoning
Abstract reasoning
 
History of c and c++
History of c and c++History of c and c++
History of c and c++
 
Abstract reasoning 2
Abstract reasoning 2Abstract reasoning 2
Abstract reasoning 2
 
Grafos
GrafosGrafos
Grafos
 

Viewers also liked

Viewers also liked (11)

Euler and hamilton paths
Euler and hamilton pathsEuler and hamilton paths
Euler and hamilton paths
 
Fill area algorithms
Fill area algorithmsFill area algorithms
Fill area algorithms
 
Backtracking
BacktrackingBacktracking
Backtracking
 
Polygon filling
Polygon fillingPolygon filling
Polygon filling
 
Hamiltonian path
Hamiltonian pathHamiltonian path
Hamiltonian path
 
backtracking algorithms of ada
backtracking algorithms of adabacktracking algorithms of ada
backtracking algorithms of ada
 
8 queens problem using back tracking
8 queens problem using back tracking8 queens problem using back tracking
8 queens problem using back tracking
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
 
Area filling algo
Area filling algoArea filling algo
Area filling algo
 
Lecture filling algorithms
Lecture  filling algorithmsLecture  filling algorithms
Lecture filling algorithms
 
Polygon Fill
Polygon FillPolygon Fill
Polygon Fill
 

Recently uploaded

Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 

Recently uploaded (20)

Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 

Backtracking

  • 2. STRUCTURE » Introduction » Rules » Practice Questions
  • 3. INTRODUCTION » Way to make graph easily » Use of 3 Basic Colors (R,G,B) » Removing conflicts
  • 4. RULES » Restriction for using 3 colors » No Conflict » Back Track
  • 6. Practice Question i) Back Tracking: A–R A B B–R B–G D C–R C–G C–B C F D–R D–G E E–R F–B
  • 7. Cont… ii) Back Tracking: E–R B–B A–R F–R F–G B F D–G C–R C–B E–B F–G A D F–R F–B E C – R C – BC – G C C–R C–B C–G
  • 8. Cont… iii) Back Tracking: C–R E–B A–R E D F–R F–G B–G D–R D–B F C–B F–G G–B A B C F–R G D – R D – BD – G D–R D–B D–G F–B D–R D–B D–G
  • 9. Cont… iv) Back Tracking: D–R C–R G–R G B–R B–B E–B A–R A–G D–G A E B–G F–G F B–R B–B C B D A–R A– B A–G A–R A–B A–G