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

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
 
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
 
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
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
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
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
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
 
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
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
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
 
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
 

Recently uploaded (20)

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...
 
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...
 
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.
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
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...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
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
 
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
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.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
 
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
 

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]