SlideShare a Scribd company logo
1 of 1
Download to read offline
3.c. Let A [ 1.. n ] be an array such that the first n n 1/2 elements are already sorted (though we
know nothing about the remaining elements). Give an algorithm that sorts A in substantially
better than n lo g n steps. [6 Marks]

More Related Content

More from aabumobipune

6- Historical records of rainstorms in a town indicated that on averag.pdf
6- Historical records of rainstorms in a town indicated that on averag.pdf6- Historical records of rainstorms in a town indicated that on averag.pdf
6- Historical records of rainstorms in a town indicated that on averag.pdfaabumobipune
 
2- What can you tell from a slice of wood- 3- Be able to label a flowe.pdf
2- What can you tell from a slice of wood- 3- Be able to label a flowe.pdf2- What can you tell from a slice of wood- 3- Be able to label a flowe.pdf
2- What can you tell from a slice of wood- 3- Be able to label a flowe.pdfaabumobipune
 
Chen et al (2018) conducted a decomposition experiment on litter colle.pdf
Chen et al (2018) conducted a decomposition experiment on litter colle.pdfChen et al (2018) conducted a decomposition experiment on litter colle.pdf
Chen et al (2018) conducted a decomposition experiment on litter colle.pdfaabumobipune
 
Which of the following is NOT a characteristic of all animals- Multipl.pdf
Which of the following is NOT a characteristic of all animals- Multipl.pdfWhich of the following is NOT a characteristic of all animals- Multipl.pdf
Which of the following is NOT a characteristic of all animals- Multipl.pdfaabumobipune
 
Waupaca Company establishes a $390 petty cash fund on September 9- On.pdf
Waupaca Company establishes a $390 petty cash fund on September 9- On.pdfWaupaca Company establishes a $390 petty cash fund on September 9- On.pdf
Waupaca Company establishes a $390 petty cash fund on September 9- On.pdfaabumobipune
 
Triticale (2n - 56) is an amphidiploid between wheat (2n - 42) and rye.pdf
Triticale (2n - 56) is an amphidiploid between wheat (2n - 42) and rye.pdfTriticale (2n - 56) is an amphidiploid between wheat (2n - 42) and rye.pdf
Triticale (2n - 56) is an amphidiploid between wheat (2n - 42) and rye.pdfaabumobipune
 
There are two countries- Country A and Country B- Both countries only.pdf
There are two countries- Country A and Country B- Both countries only.pdfThere are two countries- Country A and Country B- Both countries only.pdf
There are two countries- Country A and Country B- Both countries only.pdfaabumobipune
 
The diffuse modulation transfer function (MTF) of a turbid system can.pdf
The diffuse modulation transfer function (MTF) of a turbid system can.pdfThe diffuse modulation transfer function (MTF) of a turbid system can.pdf
The diffuse modulation transfer function (MTF) of a turbid system can.pdfaabumobipune
 
The three tubes in the photograph contain a fermentable carbohydrate (.pdf
The three tubes in the photograph contain a fermentable carbohydrate (.pdfThe three tubes in the photograph contain a fermentable carbohydrate (.pdf
The three tubes in the photograph contain a fermentable carbohydrate (.pdfaabumobipune
 
The following statements are false- Explain why and rewrite the senten.pdf
The following statements are false- Explain why and rewrite the senten.pdfThe following statements are false- Explain why and rewrite the senten.pdf
The following statements are false- Explain why and rewrite the senten.pdfaabumobipune
 
7) The integrated nature of an ERP system ensures the followings- exce.pdf
7) The integrated nature of an ERP system ensures the followings- exce.pdf7) The integrated nature of an ERP system ensures the followings- exce.pdf
7) The integrated nature of an ERP system ensures the followings- exce.pdfaabumobipune
 
The anterior and posterior deltoid both contribute to shoulder flexion.pdf
The anterior and posterior deltoid both contribute to shoulder flexion.pdfThe anterior and posterior deltoid both contribute to shoulder flexion.pdf
The anterior and posterior deltoid both contribute to shoulder flexion.pdfaabumobipune
 
A 22-year-old patient who has recently taken Dapsone for a dermatitis.pdf
A 22-year-old patient who has recently taken Dapsone for a dermatitis.pdfA 22-year-old patient who has recently taken Dapsone for a dermatitis.pdf
A 22-year-old patient who has recently taken Dapsone for a dermatitis.pdfaabumobipune
 
Suppose a new random sample of 10 individuals is to be selected from t.pdf
Suppose a new random sample of 10 individuals is to be selected from t.pdfSuppose a new random sample of 10 individuals is to be selected from t.pdf
Suppose a new random sample of 10 individuals is to be selected from t.pdfaabumobipune
 
See picture above Given these regions- What kind of Boolean Algebra.pdf
See picture above    Given these regions- What kind of Boolean Algebra.pdfSee picture above    Given these regions- What kind of Boolean Algebra.pdf
See picture above Given these regions- What kind of Boolean Algebra.pdfaabumobipune
 
Question 2 --Connecting Scientific Knowledge Practice Numerous studie.pdf
Question 2 --Connecting Scientific Knowledge Practice  Numerous studie.pdfQuestion 2 --Connecting Scientific Knowledge Practice  Numerous studie.pdf
Question 2 --Connecting Scientific Knowledge Practice Numerous studie.pdfaabumobipune
 
On May 1- Splish Brothers Corporation purchased 3-400 shares of its $1.pdf
On May 1- Splish Brothers Corporation purchased 3-400 shares of its $1.pdfOn May 1- Splish Brothers Corporation purchased 3-400 shares of its $1.pdf
On May 1- Splish Brothers Corporation purchased 3-400 shares of its $1.pdfaabumobipune
 
Mary works in Alberta and is paid $700-00 weekly- In May she received.pdf
Mary works in Alberta and is paid $700-00 weekly- In May she received.pdfMary works in Alberta and is paid $700-00 weekly- In May she received.pdf
Mary works in Alberta and is paid $700-00 weekly- In May she received.pdfaabumobipune
 

More from aabumobipune (18)

6- Historical records of rainstorms in a town indicated that on averag.pdf
6- Historical records of rainstorms in a town indicated that on averag.pdf6- Historical records of rainstorms in a town indicated that on averag.pdf
6- Historical records of rainstorms in a town indicated that on averag.pdf
 
2- What can you tell from a slice of wood- 3- Be able to label a flowe.pdf
2- What can you tell from a slice of wood- 3- Be able to label a flowe.pdf2- What can you tell from a slice of wood- 3- Be able to label a flowe.pdf
2- What can you tell from a slice of wood- 3- Be able to label a flowe.pdf
 
Chen et al (2018) conducted a decomposition experiment on litter colle.pdf
Chen et al (2018) conducted a decomposition experiment on litter colle.pdfChen et al (2018) conducted a decomposition experiment on litter colle.pdf
Chen et al (2018) conducted a decomposition experiment on litter colle.pdf
 
Which of the following is NOT a characteristic of all animals- Multipl.pdf
Which of the following is NOT a characteristic of all animals- Multipl.pdfWhich of the following is NOT a characteristic of all animals- Multipl.pdf
Which of the following is NOT a characteristic of all animals- Multipl.pdf
 
Waupaca Company establishes a $390 petty cash fund on September 9- On.pdf
Waupaca Company establishes a $390 petty cash fund on September 9- On.pdfWaupaca Company establishes a $390 petty cash fund on September 9- On.pdf
Waupaca Company establishes a $390 petty cash fund on September 9- On.pdf
 
Triticale (2n - 56) is an amphidiploid between wheat (2n - 42) and rye.pdf
Triticale (2n - 56) is an amphidiploid between wheat (2n - 42) and rye.pdfTriticale (2n - 56) is an amphidiploid between wheat (2n - 42) and rye.pdf
Triticale (2n - 56) is an amphidiploid between wheat (2n - 42) and rye.pdf
 
There are two countries- Country A and Country B- Both countries only.pdf
There are two countries- Country A and Country B- Both countries only.pdfThere are two countries- Country A and Country B- Both countries only.pdf
There are two countries- Country A and Country B- Both countries only.pdf
 
The diffuse modulation transfer function (MTF) of a turbid system can.pdf
The diffuse modulation transfer function (MTF) of a turbid system can.pdfThe diffuse modulation transfer function (MTF) of a turbid system can.pdf
The diffuse modulation transfer function (MTF) of a turbid system can.pdf
 
The three tubes in the photograph contain a fermentable carbohydrate (.pdf
The three tubes in the photograph contain a fermentable carbohydrate (.pdfThe three tubes in the photograph contain a fermentable carbohydrate (.pdf
The three tubes in the photograph contain a fermentable carbohydrate (.pdf
 
The following statements are false- Explain why and rewrite the senten.pdf
The following statements are false- Explain why and rewrite the senten.pdfThe following statements are false- Explain why and rewrite the senten.pdf
The following statements are false- Explain why and rewrite the senten.pdf
 
7) The integrated nature of an ERP system ensures the followings- exce.pdf
7) The integrated nature of an ERP system ensures the followings- exce.pdf7) The integrated nature of an ERP system ensures the followings- exce.pdf
7) The integrated nature of an ERP system ensures the followings- exce.pdf
 
The anterior and posterior deltoid both contribute to shoulder flexion.pdf
The anterior and posterior deltoid both contribute to shoulder flexion.pdfThe anterior and posterior deltoid both contribute to shoulder flexion.pdf
The anterior and posterior deltoid both contribute to shoulder flexion.pdf
 
A 22-year-old patient who has recently taken Dapsone for a dermatitis.pdf
A 22-year-old patient who has recently taken Dapsone for a dermatitis.pdfA 22-year-old patient who has recently taken Dapsone for a dermatitis.pdf
A 22-year-old patient who has recently taken Dapsone for a dermatitis.pdf
 
Suppose a new random sample of 10 individuals is to be selected from t.pdf
Suppose a new random sample of 10 individuals is to be selected from t.pdfSuppose a new random sample of 10 individuals is to be selected from t.pdf
Suppose a new random sample of 10 individuals is to be selected from t.pdf
 
See picture above Given these regions- What kind of Boolean Algebra.pdf
See picture above    Given these regions- What kind of Boolean Algebra.pdfSee picture above    Given these regions- What kind of Boolean Algebra.pdf
See picture above Given these regions- What kind of Boolean Algebra.pdf
 
Question 2 --Connecting Scientific Knowledge Practice Numerous studie.pdf
Question 2 --Connecting Scientific Knowledge Practice  Numerous studie.pdfQuestion 2 --Connecting Scientific Knowledge Practice  Numerous studie.pdf
Question 2 --Connecting Scientific Knowledge Practice Numerous studie.pdf
 
On May 1- Splish Brothers Corporation purchased 3-400 shares of its $1.pdf
On May 1- Splish Brothers Corporation purchased 3-400 shares of its $1.pdfOn May 1- Splish Brothers Corporation purchased 3-400 shares of its $1.pdf
On May 1- Splish Brothers Corporation purchased 3-400 shares of its $1.pdf
 
Mary works in Alberta and is paid $700-00 weekly- In May she received.pdf
Mary works in Alberta and is paid $700-00 weekly- In May she received.pdfMary works in Alberta and is paid $700-00 weekly- In May she received.pdf
Mary works in Alberta and is paid $700-00 weekly- In May she received.pdf
 

Recently uploaded

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSAnaAcapella
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17Celine George
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
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
 
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
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17Celine George
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 

Recently uploaded (20)

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
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
 
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
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 

3-c- Let A-1--n- be an array such that the first nn1-2 elements are al.pdf

  • 1. 3.c. Let A [ 1.. n ] be an array such that the first n n 1/2 elements are already sorted (though we know nothing about the remaining elements). Give an algorithm that sorts A in substantially better than n lo g n steps. [6 Marks]