Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
23 views
Assignment On Divide and Conquer
assignment
Uploaded by
Isha Patel
AI-enhanced title
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download now
Download
Save Assignment on Divide and Conquer For Later
Download
Save
Save Assignment on Divide and Conquer For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
23 views
Assignment On Divide and Conquer
assignment
Uploaded by
Isha Patel
AI-enhanced title
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download now
Download
Save Assignment on Divide and Conquer For Later
Carousel Previous
Carousel Next
Save
Save Assignment on Divide and Conquer For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 1
Search
Fullscreen
Government Engineering College, Rajkot
Computer Engineering Department
Subject: Analysis and Design of Algorithms
Subject Code: 3150703
B.E. Semester: 5th
Assignment – Divide and Conquer
1. Find order of growth using Master Method
(a) T (n) = 9T(n/3) + n (g) T(n) = T(9n/10) + n
(b) T(n) = 2T(n/4) + 1 (h) T(n) = 7T(n/2) + n2
(c) T (n) = 4T(n/2) + n2 (i) T(n) = 3T(n/3) + n
0.51
(d) T(n) = 2T(n/4) + n (j) T(n) = 3T(n/3) + √n
3
(e) T(n) = 2T(n/2) + n (k) T(n) = 3T(n/3) + n/2
2. Solve following recurrence equations using substitution method.
(a) T(n) = T(n-1) + n , T(1) = 1
(b) T(n) = 2T(√ ) + lgn , T(1) = 1
3. Solve following recurrence equations using iteration method.
(a) T(n) = T(n-1) + 2, T(0) = 1
(b) T(n) = 2T(n/2) + 2, T(2) = 1
4. Illustrate operation of Binary Search on following array
A = { 3 , 6, 9, 12, 33, 57, 66, 90 } and key = 90
A = { 3 , 6, 9, 12, 33, 57, 66, 90 } and key = 2
5. Sort following arrays using Merge Sort
(a) A = {54, 41, 35, 87, 11, 20, 32, 67}
(b) A = {0, 1, 5, 6, 8, 7, 9, 3, 2, 4}
(c) A = {S,O,R,T,I,N,G}
6. Sort following arrays using Quick Sort (Pivot is last element of array)
(a) A= {51,36,19,92,80,22,47,74}
(b) A = {3, 1, 2, 6, 8, 4, 9, 7}
(c) A = {E,X,A,M,P,L,E}
7. Perform matrix multiplication using Strassen’s algorithm
15 16 21 17
A = 11 13 B= 12 10
8. Multiply using divide and conquer method of multiplying two large integers :
(a) A = 12 and B = 53 (b) A = 52 and B = 210
9. Solve following Max-Min Problem using divide and conquer method:
A = {22, 15, -5, -18, 15, 60, 17, 31, -47}
A = {15, 26, 94, -2, -4, 9 , -22, 78, 99}
10. Find exponentiation using divide and conquer method:
(a) 29 (b) 311
11. Design recursive algorithm to convert decimal number into binary. Also derive
recurrence equation and find time complexity for this algorithm.
You might also like
A1 Solution
PDF
No ratings yet
A1 Solution
5 pages
Analysis of Algorithms (SET: 1) Solutions
PDF
No ratings yet
Analysis of Algorithms (SET: 1) Solutions
8 pages
Practice Problems
PDF
No ratings yet
Practice Problems
4 pages
Department of Computer Technology Anna University:: Chennai, Mit Campus Chrompet, Chennai - 44
PDF
No ratings yet
Department of Computer Technology Anna University:: Chennai, Mit Campus Chrompet, Chennai - 44
3 pages
1
PDF
No ratings yet
1
33 pages
Algo Notes
PDF
No ratings yet
Algo Notes
25 pages
Algorithm Assignment
PDF
No ratings yet
Algorithm Assignment
7 pages
Ada Assignment - 1
PDF
No ratings yet
Ada Assignment - 1
1 page
Dsa S8
PDF
No ratings yet
Dsa S8
11 pages
Analysis of Algorithms (SET: 1)
PDF
No ratings yet
Analysis of Algorithms (SET: 1)
6 pages
Dsa Q6 PDF
PDF
No ratings yet
Dsa Q6 PDF
6 pages
Exercises #3 Solving Recurrences: Theoretical Background
PDF
No ratings yet
Exercises #3 Solving Recurrences: Theoretical Background
2 pages
Chapter 2 Devide and Conquer
PDF
No ratings yet
Chapter 2 Devide and Conquer
33 pages
1
PDF
No ratings yet
1
15 pages
The Fundamentals: Algorithms The Integers
PDF
No ratings yet
The Fundamentals: Algorithms The Integers
55 pages
Number Patterns, Sequences and Series Grade 12 Notes - Mathematics Study Guides
PDF
No ratings yet
Number Patterns, Sequences and Series Grade 12 Notes - Mathematics Study Guides
20 pages
Daa Ct1 Set c Answer Key
PDF
No ratings yet
Daa Ct1 Set c Answer Key
8 pages
Topic 3 Part 1
PDF
No ratings yet
Topic 3 Part 1
25 pages
Soal 3
PDF
No ratings yet
Soal 3
1 page
Matlab Assignment1 2024
PDF
No ratings yet
Matlab Assignment1 2024
2 pages
Practice Problem Set 1
PDF
No ratings yet
Practice Problem Set 1
3 pages
Unit 3 For ADA
PDF
No ratings yet
Unit 3 For ADA
21 pages
CS2040 Lab Problems
PDF
No ratings yet
CS2040 Lab Problems
4 pages
Unit Five Determinants: A A A A A A A A N N A A
PDF
No ratings yet
Unit Five Determinants: A A A A A A A A N N A A
17 pages
Recurrence-Relations Time Complexity
PDF
No ratings yet
Recurrence-Relations Time Complexity
14 pages
Recurrence-Relations Time Complexity
PDF
No ratings yet
Recurrence-Relations Time Complexity
14 pages
Assignment 1 Daa
PDF
No ratings yet
Assignment 1 Daa
1 page
Dsa Q8
PDF
No ratings yet
Dsa Q8
7 pages
CSCI 3110 Assignment 6 Solutions: December 5, 2012
PDF
No ratings yet
CSCI 3110 Assignment 6 Solutions: December 5, 2012
5 pages
Oslo
PDF
No ratings yet
Oslo
6 pages
Recurrence Relations PDF
PDF
100% (1)
Recurrence Relations PDF
16 pages
7.assignment2 DAA Answers Dsatm PDF
PDF
No ratings yet
7.assignment2 DAA Answers Dsatm PDF
19 pages
minor 1
PDF
No ratings yet
minor 1
2 pages
AAD Lec04
PDF
No ratings yet
AAD Lec04
3 pages
Daa MCQ - Sample-2020 PDF
PDF
100% (5)
Daa MCQ - Sample-2020 PDF
40 pages
Analysis and Design of Algorithms - Assignment 2
PDF
No ratings yet
Analysis and Design of Algorithms - Assignment 2
3 pages
Fundamental Algorithms, Assignment 4 Solutions
PDF
No ratings yet
Fundamental Algorithms, Assignment 4 Solutions
3 pages
Data Structures and Algorithms (AT70.02)
PDF
No ratings yet
Data Structures and Algorithms (AT70.02)
8 pages
Signal Test
PDF
No ratings yet
Signal Test
27 pages
COMP4500 - 7500 - 2011, Sem 2
PDF
No ratings yet
COMP4500 - 7500 - 2011, Sem 2
8 pages
ICS 211, Design & Analysis of Algorithms, Assignment 1
PDF
No ratings yet
ICS 211, Design & Analysis of Algorithms, Assignment 1
3 pages
Discrete Structure Chapter 3 Mathematical Induction-68
PDF
0% (1)
Discrete Structure Chapter 3 Mathematical Induction-68
70 pages
NOTES SEQUENCES AND SERIES 2025
PDF
No ratings yet
NOTES SEQUENCES AND SERIES 2025
8 pages
Algorithms Analysis and Design Lec 4,5
PDF
No ratings yet
Algorithms Analysis and Design Lec 4,5
9 pages
MTH 111 Questions 2021
PDF
No ratings yet
MTH 111 Questions 2021
26 pages
Chapter 2 Patterns Sequences and Series
PDF
No ratings yet
Chapter 2 Patterns Sequences and Series
42 pages
Tutorial Sheet-2
PDF
No ratings yet
Tutorial Sheet-2
2 pages
DSP Assignment
PDF
No ratings yet
DSP Assignment
8 pages
xi term 1 q.p 02.11.20
PDF
No ratings yet
xi term 1 q.p 02.11.20
5 pages
Instructions: Answer ALL Questions by Placing A Thick Horizontal Line On
PDF
No ratings yet
Instructions: Answer ALL Questions by Placing A Thick Horizontal Line On
4 pages
GTU_Solutions_Summer_2024
PDF
No ratings yet
GTU_Solutions_Summer_2024
3 pages
DynamicProgrammingAlgorithms2021Part2
PDF
No ratings yet
DynamicProgrammingAlgorithms2021Part2
87 pages
(2015) ADA-2nd internals-QN+Ans - Key
PDF
No ratings yet
(2015) ADA-2nd internals-QN+Ans - Key
4 pages
Design and Analysis of Algorithm
PDF
100% (1)
Design and Analysis of Algorithm
20 pages
Final Exam Solutions
PDF
No ratings yet
Final Exam Solutions
20 pages
03 the Fundamentals Algorithms Integers 1
PDF
No ratings yet
03 the Fundamentals Algorithms Integers 1
69 pages
Design A Algorithm
PDF
No ratings yet
Design A Algorithm
20 pages
Notes and Formulae SPM Mathematics Form 1 - 3 Notes Solid Geometry
PDF
No ratings yet
Notes and Formulae SPM Mathematics Form 1 - 3 Notes Solid Geometry
9 pages
Analytic Geometry: Graphic Solutions Using Matlab Language
From Everand
Analytic Geometry: Graphic Solutions Using Matlab Language
Ing. Mario Castillo
No ratings yet
Trigonometric Ratios to Transformations (Trigonometry) Mathematics E-Book For Public Exams
From Everand
Trigonometric Ratios to Transformations (Trigonometry) Mathematics E-Book For Public Exams
Mohmmad Khaja Shareef
5/5 (1)