SlideShare a Scribd company logo
1 of 1
Download to read offline
6. (4 points) (Counting Different Heaps) (a) How many possible different min-heaps are there
when the set of keys is {1,2,3} ? (b) Let Nk denote the number of possible min-heaps when the set
of keys is {1,2,3,2k1} (i.e. the heap tree is a complete binary tree with 2k1 nodes). Derive a
recurrence for Nk.

More Related Content

More from ruckfulesnishu

6 7 Recall our study of Forecasting If Brandon Edward .pdf
6 7      Recall our study of Forecasting If Brandon Edward .pdf6 7      Recall our study of Forecasting If Brandon Edward .pdf
6 7 Recall our study of Forecasting If Brandon Edward .pdfruckfulesnishu
 
520 The pair XY has joint cdf given by FXYxy11.pdf
520 The pair XY has joint cdf given by FXYxy11.pdf520 The pair XY has joint cdf given by FXYxy11.pdf
520 The pair XY has joint cdf given by FXYxy11.pdfruckfulesnishu
 
6 33 123 Error Mixing operators between numbers and strings.pdf
6 33 123 Error Mixing operators between numbers and strings.pdf6 33 123 Error Mixing operators between numbers and strings.pdf
6 33 123 Error Mixing operators between numbers and strings.pdfruckfulesnishu
 
5 Situations in which auditors provide additional copies of.pdf
5 Situations in which auditors provide additional copies of.pdf5 Situations in which auditors provide additional copies of.pdf
5 Situations in which auditors provide additional copies of.pdfruckfulesnishu
 
5 Tracy Depot Incs financial statements are presented bel.pdf
5 Tracy Depot Incs financial statements are presented bel.pdf5 Tracy Depot Incs financial statements are presented bel.pdf
5 Tracy Depot Incs financial statements are presented bel.pdfruckfulesnishu
 
5Aadakilerden hangisi insanlarn hayatlarndaki riskleri ne .pdf
5Aadakilerden hangisi insanlarn hayatlarndaki riskleri ne .pdf5Aadakilerden hangisi insanlarn hayatlarndaki riskleri ne .pdf
5Aadakilerden hangisi insanlarn hayatlarndaki riskleri ne .pdfruckfulesnishu
 
5pt Suppose YY1Y2T has a bivariate normal distribution.pdf
5pt Suppose YY1Y2T has a bivariate normal distribution.pdf5pt Suppose YY1Y2T has a bivariate normal distribution.pdf
5pt Suppose YY1Y2T has a bivariate normal distribution.pdfruckfulesnishu
 
59 John and Jane are both carriers for Cystic Fibrosis CF.pdf
59 John and Jane are both carriers for Cystic Fibrosis CF.pdf59 John and Jane are both carriers for Cystic Fibrosis CF.pdf
59 John and Jane are both carriers for Cystic Fibrosis CF.pdfruckfulesnishu
 
5 What part of the nephron does the cup represent at this s.pdf
5 What part of the nephron does the cup represent at this s.pdf5 What part of the nephron does the cup represent at this s.pdf
5 What part of the nephron does the cup represent at this s.pdfruckfulesnishu
 
5 What is most true about the resource based view in B2B m.pdf
5 What is most true about the resource based view in B2B m.pdf5 What is most true about the resource based view in B2B m.pdf
5 What is most true about the resource based view in B2B m.pdfruckfulesnishu
 
56 1 point Ethernet is the trade name for what is technic.pdf
56 1 point Ethernet is the trade name for what is technic.pdf56 1 point Ethernet is the trade name for what is technic.pdf
56 1 point Ethernet is the trade name for what is technic.pdfruckfulesnishu
 
52 Paristen Moskovaya Avrupadaki yurtdnda yaz eitimi p.pdf
52  Paristen Moskovaya Avrupadaki yurtdnda yaz eitimi p.pdf52  Paristen Moskovaya Avrupadaki yurtdnda yaz eitimi p.pdf
52 Paristen Moskovaya Avrupadaki yurtdnda yaz eitimi p.pdfruckfulesnishu
 
5 Watson and Crick first built a triplehelix model of DNA.pdf
5 Watson and Crick first built a triplehelix model of DNA.pdf5 Watson and Crick first built a triplehelix model of DNA.pdf
5 Watson and Crick first built a triplehelix model of DNA.pdfruckfulesnishu
 
51 Tax Forms Problem ProConnect Tax Lance H and Wanda B D.pdf
51 Tax Forms Problem ProConnect Tax Lance H and Wanda B D.pdf51 Tax Forms Problem ProConnect Tax Lance H and Wanda B D.pdf
51 Tax Forms Problem ProConnect Tax Lance H and Wanda B D.pdfruckfulesnishu
 
51 Lance H and Wanda B Dean are married and live at 431 Y.pdf
51 Lance H and Wanda B Dean are married and live at 431 Y.pdf51 Lance H and Wanda B Dean are married and live at 431 Y.pdf
51 Lance H and Wanda B Dean are married and live at 431 Y.pdfruckfulesnishu
 
51 Use the following symbols to write out the cross Male.pdf
51 Use the following symbols to write out the cross Male.pdf51 Use the following symbols to write out the cross Male.pdf
51 Use the following symbols to write out the cross Male.pdfruckfulesnishu
 
51 In your own words and understanding compare and contras.pdf
51 In your own words and understanding compare and contras.pdf51 In your own words and understanding compare and contras.pdf
51 In your own words and understanding compare and contras.pdfruckfulesnishu
 
50 Es una herramienta de seguimiento continuo para vincular.pdf
50 Es una herramienta de seguimiento continuo para vincular.pdf50 Es una herramienta de seguimiento continuo para vincular.pdf
50 Es una herramienta de seguimiento continuo para vincular.pdfruckfulesnishu
 
50 60 75LabProgramjava Load default template1.pdf
50 60  75LabProgramjava Load default template1.pdf50 60  75LabProgramjava Load default template1.pdf
50 60 75LabProgramjava Load default template1.pdfruckfulesnishu
 
5 Suppose X1Xn are iid random variables with mean EX.pdf
5 Suppose X1Xn are iid random variables with mean EX.pdf5 Suppose X1Xn are iid random variables with mean EX.pdf
5 Suppose X1Xn are iid random variables with mean EX.pdfruckfulesnishu
 

More from ruckfulesnishu (20)

6 7 Recall our study of Forecasting If Brandon Edward .pdf
6 7      Recall our study of Forecasting If Brandon Edward .pdf6 7      Recall our study of Forecasting If Brandon Edward .pdf
6 7 Recall our study of Forecasting If Brandon Edward .pdf
 
520 The pair XY has joint cdf given by FXYxy11.pdf
520 The pair XY has joint cdf given by FXYxy11.pdf520 The pair XY has joint cdf given by FXYxy11.pdf
520 The pair XY has joint cdf given by FXYxy11.pdf
 
6 33 123 Error Mixing operators between numbers and strings.pdf
6 33 123 Error Mixing operators between numbers and strings.pdf6 33 123 Error Mixing operators between numbers and strings.pdf
6 33 123 Error Mixing operators between numbers and strings.pdf
 
5 Situations in which auditors provide additional copies of.pdf
5 Situations in which auditors provide additional copies of.pdf5 Situations in which auditors provide additional copies of.pdf
5 Situations in which auditors provide additional copies of.pdf
 
5 Tracy Depot Incs financial statements are presented bel.pdf
5 Tracy Depot Incs financial statements are presented bel.pdf5 Tracy Depot Incs financial statements are presented bel.pdf
5 Tracy Depot Incs financial statements are presented bel.pdf
 
5Aadakilerden hangisi insanlarn hayatlarndaki riskleri ne .pdf
5Aadakilerden hangisi insanlarn hayatlarndaki riskleri ne .pdf5Aadakilerden hangisi insanlarn hayatlarndaki riskleri ne .pdf
5Aadakilerden hangisi insanlarn hayatlarndaki riskleri ne .pdf
 
5pt Suppose YY1Y2T has a bivariate normal distribution.pdf
5pt Suppose YY1Y2T has a bivariate normal distribution.pdf5pt Suppose YY1Y2T has a bivariate normal distribution.pdf
5pt Suppose YY1Y2T has a bivariate normal distribution.pdf
 
59 John and Jane are both carriers for Cystic Fibrosis CF.pdf
59 John and Jane are both carriers for Cystic Fibrosis CF.pdf59 John and Jane are both carriers for Cystic Fibrosis CF.pdf
59 John and Jane are both carriers for Cystic Fibrosis CF.pdf
 
5 What part of the nephron does the cup represent at this s.pdf
5 What part of the nephron does the cup represent at this s.pdf5 What part of the nephron does the cup represent at this s.pdf
5 What part of the nephron does the cup represent at this s.pdf
 
5 What is most true about the resource based view in B2B m.pdf
5 What is most true about the resource based view in B2B m.pdf5 What is most true about the resource based view in B2B m.pdf
5 What is most true about the resource based view in B2B m.pdf
 
56 1 point Ethernet is the trade name for what is technic.pdf
56 1 point Ethernet is the trade name for what is technic.pdf56 1 point Ethernet is the trade name for what is technic.pdf
56 1 point Ethernet is the trade name for what is technic.pdf
 
52 Paristen Moskovaya Avrupadaki yurtdnda yaz eitimi p.pdf
52  Paristen Moskovaya Avrupadaki yurtdnda yaz eitimi p.pdf52  Paristen Moskovaya Avrupadaki yurtdnda yaz eitimi p.pdf
52 Paristen Moskovaya Avrupadaki yurtdnda yaz eitimi p.pdf
 
5 Watson and Crick first built a triplehelix model of DNA.pdf
5 Watson and Crick first built a triplehelix model of DNA.pdf5 Watson and Crick first built a triplehelix model of DNA.pdf
5 Watson and Crick first built a triplehelix model of DNA.pdf
 
51 Tax Forms Problem ProConnect Tax Lance H and Wanda B D.pdf
51 Tax Forms Problem ProConnect Tax Lance H and Wanda B D.pdf51 Tax Forms Problem ProConnect Tax Lance H and Wanda B D.pdf
51 Tax Forms Problem ProConnect Tax Lance H and Wanda B D.pdf
 
51 Lance H and Wanda B Dean are married and live at 431 Y.pdf
51 Lance H and Wanda B Dean are married and live at 431 Y.pdf51 Lance H and Wanda B Dean are married and live at 431 Y.pdf
51 Lance H and Wanda B Dean are married and live at 431 Y.pdf
 
51 Use the following symbols to write out the cross Male.pdf
51 Use the following symbols to write out the cross Male.pdf51 Use the following symbols to write out the cross Male.pdf
51 Use the following symbols to write out the cross Male.pdf
 
51 In your own words and understanding compare and contras.pdf
51 In your own words and understanding compare and contras.pdf51 In your own words and understanding compare and contras.pdf
51 In your own words and understanding compare and contras.pdf
 
50 Es una herramienta de seguimiento continuo para vincular.pdf
50 Es una herramienta de seguimiento continuo para vincular.pdf50 Es una herramienta de seguimiento continuo para vincular.pdf
50 Es una herramienta de seguimiento continuo para vincular.pdf
 
50 60 75LabProgramjava Load default template1.pdf
50 60  75LabProgramjava Load default template1.pdf50 60  75LabProgramjava Load default template1.pdf
50 60 75LabProgramjava Load default template1.pdf
 
5 Suppose X1Xn are iid random variables with mean EX.pdf
5 Suppose X1Xn are iid random variables with mean EX.pdf5 Suppose X1Xn are iid random variables with mean EX.pdf
5 Suppose X1Xn are iid random variables with mean EX.pdf
 

Recently uploaded

2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdfssuserdda66b
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 

Recently uploaded (20)

2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 

6 4 points Counting Different Heaps a How many possib.pdf

  • 1. 6. (4 points) (Counting Different Heaps) (a) How many possible different min-heaps are there when the set of keys is {1,2,3} ? (b) Let Nk denote the number of possible min-heaps when the set of keys is {1,2,3,2k1} (i.e. the heap tree is a complete binary tree with 2k1 nodes). Derive a recurrence for Nk.