SlideShare a Scribd company logo
G is Hamiltonian graph.
Hence a path exists which visits each vertex exactly once.
If possible let G has a cycle of length more than n/2
Recall the definition A Hamiltonian cycle, Hamiltonian circuit, vertex tour or graph cycle is a
cycle that visits each vertex exactly once (except for the vertex that is both the start and end,
which is visited twice). A graph that contains a Hamiltonian cycle is called a Hamiltonian graph
Consider the cycle path which has length more than n/2.
We know each edge connects two vertices. And as the graph is hamilton and we have taken a
cycle path, the path can visit each vertex exactly once except start point
Hence if n is odd, (n-1)/2 edges will connect all the vertices
Or if n is even n/2-1 edges will connect all the vertices.
Hence cycle can not have length more than n/2
Thus proved
Solution
G is Hamiltonian graph.
Hence a path exists which visits each vertex exactly once.
If possible let G has a cycle of length more than n/2
Recall the definition A Hamiltonian cycle, Hamiltonian circuit, vertex tour or graph cycle is a
cycle that visits each vertex exactly once (except for the vertex that is both the start and end,
which is visited twice). A graph that contains a Hamiltonian cycle is called a Hamiltonian graph
Consider the cycle path which has length more than n/2.
We know each edge connects two vertices. And as the graph is hamilton and we have taken a
cycle path, the path can visit each vertex exactly once except start point
Hence if n is odd, (n-1)/2 edges will connect all the vertices
Or if n is even n/2-1 edges will connect all the vertices.
Hence cycle can not have length more than n/2
Thus proved

More Related Content

More from ANANDSHOE

let x be concentration of SO2 and O2 2x+x=6.4 x=2.pdf
                     let x be concentration of SO2 and O2 2x+x=6.4 x=2.pdf                     let x be concentration of SO2 and O2 2x+x=6.4 x=2.pdf
let x be concentration of SO2 and O2 2x+x=6.4 x=2.pdf
ANANDSHOE
 
isotopes have same atomic number but different ma.pdf
                     isotopes have same atomic number but different ma.pdf                     isotopes have same atomic number but different ma.pdf
isotopes have same atomic number but different ma.pdf
ANANDSHOE
 
i ) Lead orthophosphate ii) dinitrogen pentasulfi.pdf
                     i ) Lead orthophosphate ii) dinitrogen pentasulfi.pdf                     i ) Lead orthophosphate ii) dinitrogen pentasulfi.pdf
i ) Lead orthophosphate ii) dinitrogen pentasulfi.pdf
ANANDSHOE
 
TThe function is increasing in the interval [1,5)The function is n.pdf
TThe function is increasing in the interval [1,5)The function is n.pdfTThe function is increasing in the interval [1,5)The function is n.pdf
TThe function is increasing in the interval [1,5)The function is n.pdf
ANANDSHOE
 
This is the code of shellsortvoid Shellsort( ElementType A[ ], int.pdf
This is the code of shellsortvoid Shellsort( ElementType A[ ], int.pdfThis is the code of shellsortvoid Shellsort( ElementType A[ ], int.pdf
This is the code of shellsortvoid Shellsort( ElementType A[ ], int.pdf
ANANDSHOE
 
The balanced ionic Equation in basic medium is H2O + 2 CrO 42 --.pdf
The balanced ionic Equation in basic medium is  H2O + 2 CrO 42 --.pdfThe balanced ionic Equation in basic medium is  H2O + 2 CrO 42 --.pdf
The balanced ionic Equation in basic medium is H2O + 2 CrO 42 --.pdf
ANANDSHOE
 
The acidic hydrogen attaches to the carbon bonded to the least alkyl.pdf
The acidic hydrogen attaches to the carbon bonded to the least alkyl.pdfThe acidic hydrogen attaches to the carbon bonded to the least alkyl.pdf
The acidic hydrogen attaches to the carbon bonded to the least alkyl.pdf
ANANDSHOE
 
Propanoic acid will react (in an acid-base reaction) with aqueous ba.pdf
Propanoic acid will react (in an acid-base reaction) with aqueous ba.pdfPropanoic acid will react (in an acid-base reaction) with aqueous ba.pdf
Propanoic acid will react (in an acid-base reaction) with aqueous ba.pdf
ANANDSHOE
 
Pollinationis theprocessby whichpollenis transferred in the reproduc.pdf
Pollinationis theprocessby whichpollenis transferred in the reproduc.pdfPollinationis theprocessby whichpollenis transferred in the reproduc.pdf
Pollinationis theprocessby whichpollenis transferred in the reproduc.pdf
ANANDSHOE
 
A.B.(C)Journal Entries for the year 2014DateAccount title and ex.pdf
A.B.(C)Journal Entries for the year 2014DateAccount title and ex.pdfA.B.(C)Journal Entries for the year 2014DateAccount title and ex.pdf
A.B.(C)Journal Entries for the year 2014DateAccount title and ex.pdf
ANANDSHOE
 
c) increases the melting point .pdf
                     c) increases the melting point                   .pdf                     c) increases the melting point                   .pdf
c) increases the melting point .pdf
ANANDSHOE
 
fjgySolutionfjgy.pdf
fjgySolutionfjgy.pdffjgySolutionfjgy.pdf
fjgySolutionfjgy.pdf
ANANDSHOE
 
Enumerable A set is one whose members can be enumerated is called e.pdf
Enumerable A set is one whose members can be enumerated is called e.pdfEnumerable A set is one whose members can be enumerated is called e.pdf
Enumerable A set is one whose members can be enumerated is called e.pdf
ANANDSHOE
 
C.There is some evidence against H0, and a study using a larger samp.pdf
C.There is some evidence against H0, and a study using a larger samp.pdfC.There is some evidence against H0, and a study using a larger samp.pdf
C.There is some evidence against H0, and a study using a larger samp.pdf
ANANDSHOE
 
Bohr orbits have fixed sizes and fixed energiesSolutionBohr or.pdf
Bohr orbits have fixed sizes and fixed energiesSolutionBohr or.pdfBohr orbits have fixed sizes and fixed energiesSolutionBohr or.pdf
Bohr orbits have fixed sizes and fixed energiesSolutionBohr or.pdf
ANANDSHOE
 
c) At high altitudes the partial pressure of carbon dioxide as well .pdf
c) At high altitudes the partial pressure of carbon dioxide as well .pdfc) At high altitudes the partial pressure of carbon dioxide as well .pdf
c) At high altitudes the partial pressure of carbon dioxide as well .pdf
ANANDSHOE
 
AnswerFrogs have a pair of large eyes in the head which help in e.pdf
AnswerFrogs have a pair of large eyes in the head which help in e.pdfAnswerFrogs have a pair of large eyes in the head which help in e.pdf
AnswerFrogs have a pair of large eyes in the head which help in e.pdf
ANANDSHOE
 
Answer1. Benefits of separating header files from the cpp files ar.pdf
Answer1. Benefits of separating header files from the cpp files ar.pdfAnswer1. Benefits of separating header files from the cpp files ar.pdf
Answer1. Benefits of separating header files from the cpp files ar.pdf
ANANDSHOE
 
a) can be anionic b) can be polydentate c) can be Lewis base d.pdf
a) can be anionic b) can be polydentate c) can be Lewis base d.pdfa) can be anionic b) can be polydentate c) can be Lewis base d.pdf
a) can be anionic b) can be polydentate c) can be Lewis base d.pdf
ANANDSHOE
 
7Solution7.pdf
7Solution7.pdf7Solution7.pdf
7Solution7.pdf
ANANDSHOE
 

More from ANANDSHOE (20)

let x be concentration of SO2 and O2 2x+x=6.4 x=2.pdf
                     let x be concentration of SO2 and O2 2x+x=6.4 x=2.pdf                     let x be concentration of SO2 and O2 2x+x=6.4 x=2.pdf
let x be concentration of SO2 and O2 2x+x=6.4 x=2.pdf
 
isotopes have same atomic number but different ma.pdf
                     isotopes have same atomic number but different ma.pdf                     isotopes have same atomic number but different ma.pdf
isotopes have same atomic number but different ma.pdf
 
i ) Lead orthophosphate ii) dinitrogen pentasulfi.pdf
                     i ) Lead orthophosphate ii) dinitrogen pentasulfi.pdf                     i ) Lead orthophosphate ii) dinitrogen pentasulfi.pdf
i ) Lead orthophosphate ii) dinitrogen pentasulfi.pdf
 
TThe function is increasing in the interval [1,5)The function is n.pdf
TThe function is increasing in the interval [1,5)The function is n.pdfTThe function is increasing in the interval [1,5)The function is n.pdf
TThe function is increasing in the interval [1,5)The function is n.pdf
 
This is the code of shellsortvoid Shellsort( ElementType A[ ], int.pdf
This is the code of shellsortvoid Shellsort( ElementType A[ ], int.pdfThis is the code of shellsortvoid Shellsort( ElementType A[ ], int.pdf
This is the code of shellsortvoid Shellsort( ElementType A[ ], int.pdf
 
The balanced ionic Equation in basic medium is H2O + 2 CrO 42 --.pdf
The balanced ionic Equation in basic medium is  H2O + 2 CrO 42 --.pdfThe balanced ionic Equation in basic medium is  H2O + 2 CrO 42 --.pdf
The balanced ionic Equation in basic medium is H2O + 2 CrO 42 --.pdf
 
The acidic hydrogen attaches to the carbon bonded to the least alkyl.pdf
The acidic hydrogen attaches to the carbon bonded to the least alkyl.pdfThe acidic hydrogen attaches to the carbon bonded to the least alkyl.pdf
The acidic hydrogen attaches to the carbon bonded to the least alkyl.pdf
 
Propanoic acid will react (in an acid-base reaction) with aqueous ba.pdf
Propanoic acid will react (in an acid-base reaction) with aqueous ba.pdfPropanoic acid will react (in an acid-base reaction) with aqueous ba.pdf
Propanoic acid will react (in an acid-base reaction) with aqueous ba.pdf
 
Pollinationis theprocessby whichpollenis transferred in the reproduc.pdf
Pollinationis theprocessby whichpollenis transferred in the reproduc.pdfPollinationis theprocessby whichpollenis transferred in the reproduc.pdf
Pollinationis theprocessby whichpollenis transferred in the reproduc.pdf
 
A.B.(C)Journal Entries for the year 2014DateAccount title and ex.pdf
A.B.(C)Journal Entries for the year 2014DateAccount title and ex.pdfA.B.(C)Journal Entries for the year 2014DateAccount title and ex.pdf
A.B.(C)Journal Entries for the year 2014DateAccount title and ex.pdf
 
c) increases the melting point .pdf
                     c) increases the melting point                   .pdf                     c) increases the melting point                   .pdf
c) increases the melting point .pdf
 
fjgySolutionfjgy.pdf
fjgySolutionfjgy.pdffjgySolutionfjgy.pdf
fjgySolutionfjgy.pdf
 
Enumerable A set is one whose members can be enumerated is called e.pdf
Enumerable A set is one whose members can be enumerated is called e.pdfEnumerable A set is one whose members can be enumerated is called e.pdf
Enumerable A set is one whose members can be enumerated is called e.pdf
 
C.There is some evidence against H0, and a study using a larger samp.pdf
C.There is some evidence against H0, and a study using a larger samp.pdfC.There is some evidence against H0, and a study using a larger samp.pdf
C.There is some evidence against H0, and a study using a larger samp.pdf
 
Bohr orbits have fixed sizes and fixed energiesSolutionBohr or.pdf
Bohr orbits have fixed sizes and fixed energiesSolutionBohr or.pdfBohr orbits have fixed sizes and fixed energiesSolutionBohr or.pdf
Bohr orbits have fixed sizes and fixed energiesSolutionBohr or.pdf
 
c) At high altitudes the partial pressure of carbon dioxide as well .pdf
c) At high altitudes the partial pressure of carbon dioxide as well .pdfc) At high altitudes the partial pressure of carbon dioxide as well .pdf
c) At high altitudes the partial pressure of carbon dioxide as well .pdf
 
AnswerFrogs have a pair of large eyes in the head which help in e.pdf
AnswerFrogs have a pair of large eyes in the head which help in e.pdfAnswerFrogs have a pair of large eyes in the head which help in e.pdf
AnswerFrogs have a pair of large eyes in the head which help in e.pdf
 
Answer1. Benefits of separating header files from the cpp files ar.pdf
Answer1. Benefits of separating header files from the cpp files ar.pdfAnswer1. Benefits of separating header files from the cpp files ar.pdf
Answer1. Benefits of separating header files from the cpp files ar.pdf
 
a) can be anionic b) can be polydentate c) can be Lewis base d.pdf
a) can be anionic b) can be polydentate c) can be Lewis base d.pdfa) can be anionic b) can be polydentate c) can be Lewis base d.pdf
a) can be anionic b) can be polydentate c) can be Lewis base d.pdf
 
7Solution7.pdf
7Solution7.pdf7Solution7.pdf
7Solution7.pdf
 

Recently uploaded

LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 

Recently uploaded (20)

LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 

G is Hamiltonian graph.Hence a path exists which visits each verte.pdf

  • 1. G is Hamiltonian graph. Hence a path exists which visits each vertex exactly once. If possible let G has a cycle of length more than n/2 Recall the definition A Hamiltonian cycle, Hamiltonian circuit, vertex tour or graph cycle is a cycle that visits each vertex exactly once (except for the vertex that is both the start and end, which is visited twice). A graph that contains a Hamiltonian cycle is called a Hamiltonian graph Consider the cycle path which has length more than n/2. We know each edge connects two vertices. And as the graph is hamilton and we have taken a cycle path, the path can visit each vertex exactly once except start point Hence if n is odd, (n-1)/2 edges will connect all the vertices Or if n is even n/2-1 edges will connect all the vertices. Hence cycle can not have length more than n/2 Thus proved Solution G is Hamiltonian graph. Hence a path exists which visits each vertex exactly once. If possible let G has a cycle of length more than n/2 Recall the definition A Hamiltonian cycle, Hamiltonian circuit, vertex tour or graph cycle is a cycle that visits each vertex exactly once (except for the vertex that is both the start and end, which is visited twice). A graph that contains a Hamiltonian cycle is called a Hamiltonian graph Consider the cycle path which has length more than n/2. We know each edge connects two vertices. And as the graph is hamilton and we have taken a cycle path, the path can visit each vertex exactly once except start point Hence if n is odd, (n-1)/2 edges will connect all the vertices Or if n is even n/2-1 edges will connect all the vertices. Hence cycle can not have length more than n/2 Thus proved