CS 3343: Analysis of Algorithms

Slides:



Advertisements
Similar presentations
INTRODUCTION TO CS16 CS16: Introduction to Algorithms and Data Structures Tu/Th 10:30-11:50 Metcalf Auditorium David Laidlaw Thursday, January 23, 2014.
Advertisements

CS16: Data Structures & Algorithms | Spring 2014 Midterm Review 3/16/
Review. What to know You are responsible for all material covered in lecture, the readings, or the programming assignments There will also be some questions.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2009 Lecture 1 Introduction/Overview Text: Chapters 1, 2 Th. 9/3/2009.
DAST, Spring © L. Joskowicz 1 Data Structures – LECTURE 1 Introduction Motivation: algorithms and abstract data types Easy problems, hard problems.
TDDB57 DALG-C, DALG Exam Requirements Jan Maluszynski - HT 2006DALG-C.1 TDDB57 – DALG-C Examination Requirements.
Chapter 9: Greedy Algorithms The Design and Analysis of Algorithms.
CSIS-385: Analysis of Algorithms Dr. Eric Breimer.
CSIS-385: Analysis of Algorithms Dr. Eric Breimer.
Greedy Algorithms Reading Material: Chapter 8 (Except Section 8.5)
1 Review for Midterm Exam Andreas Klappenecker. 2 Topics Covered Finding Primes in the Digits of Euler's Number Asymptotic Notations: Big Oh, Big Omega,
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2005 Lecture 1 Introduction/Overview Text: Chapters 1, 2 Wed. 9/7/05.
Greedy Algorithms Like dynamic programming algorithms, greedy algorithms are usually designed to solve optimization problems Unlike dynamic programming.
Recurrences / HW: 2.4 Quiz: 2.1, 4.1, 4.2, 5.2, 7.3, 7.4 Midterm: 8 given a recursive algorithm, state the recurrence solve a recurrence, using Master.
Data Structures, Spring 2004 © L. Joskowicz 1 DAST – Final Lecture Summary and overview What we have learned. Why it is important. What next.
DAST, Spring © L. Joskowicz 1 Data Structures – LECTURE 1 Introduction Motivation: algorithms and abstract data types Easy problems, hard problems.
EXAM REVIEW CSC 172 SPRING 2004 LECTURE 26. Want to TA for next semester?
1 Summary of lectures 1.Introduction to Algorithm Analysis and Design (Chapter 1-3). Lecture SlidesLecture Slides 2.Recurrence and Master Theorem (Chapter.
Instructor: Dr. Sahar Shabanah Fall Lectures ST, 9:30 pm-11:00 pm Text book: M. T. Goodrich and R. Tamassia, “Data Structures and Algorithms in.
Teaching Teaching Discrete Mathematics and Algorithms & Data Structures Online G.MirkowskaPJIIT.
1 Summary of lectures 1.Introduction to Algorithm Analysis and Design (Chapter 1-3). Lecture SlidesLecture Slides 2.Recurrence and Master Theorem (Chapter.
Sorting Sanghyun Park Fall 2002 CSE, POSTECH. Sorts To Consider Selection sort Bubble sort Insertion sort Merge sort Quick sort Why do we care about sorting?
10/20/20151 CS 3343: Analysis of Algorithms Review for final.
INTRODUCTION. What is an algorithm? What is a Problem?
December 4, Algorithms and Data Structures Lecture XV Simonas Šaltenis Aalborg University
CS223 Advanced Data Structures and Algorithms 1 Review for Midterm Neil Tang 03/06/2008.
CS223 Advanced Data Structures and Algorithms 1 Review for Final Neil Tang 04/27/2010.
1 BIM304: Algorithm Design Time: Friday 9-12am Location: B4 Instructor: Cuneyt Akinlar Grading –2 Midterms – 20% and 30% respectively –Final – 30% –Projects.
Runtime O(VE), for +/- edges, Detects existence of neg. loops
Review for Final Exam – cs411/511 Definitions (5 questions, 2 points each) Algorithm Analysis (3 questions, 3 points each) General Questions (3 questions,
Course Review Fundamental Structures of Computer Science Margaret Reid-Miller 29 April 2004.
Design and Analysis of Algorithms (09 Credits / 5 hours per week) Sixth Semester: Computer Science & Engineering M.B.Chandak
CSE 340: Review (at last!) Measuring The Complexity Complexity is a function of the size of the input O() Ω() Θ() Complexity Analysis “same order” Order.
Algorithms Design and Analysis CS Course description / Algorithms Design and Analysis Course name and Number: Algorithms designs and analysis –
Course Review Fundamental Structures of Computer Science Margaret Reid-Miller 28 April 2005.
2016/3/13Page 1 Semester Review COMP3040 Dept. Computer Science and Technology United International College.
BITS Pilani Pilani Campus Data Structure and Algorithms Design Dr. Maheswari Karthikeyan Lecture1.
Course Review Fundamental Structures of Computer Science Ananda Guna May 04, 2006.
CS16: Introduction to Algorithms and Data Structures
Design and Analysis of Algorithms
Design and Analysis of Algorithms (09 Credits / 5 hours per week)
Cse 373 June 2nd – Exam Review.
Data Structures and Algorithms
CSE 326: Data Structures: Advanced Topics
Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2008
Lecture 1 Introduction/Overview Text: Chapters 1, 2 Wed. 1/28/04
Midterm Review.
CS 3343: Analysis of Algorithms
Exam Hints.
Summary of lectures Introduction to Algorithm Analysis and Design (Chapter 1-3). Lecture Slides Recurrence and Master Theorem (Chapter 4). Lecture Slides.
Computer Science 102 Data Structures CSCI-UA
CS 583 Fall 2006 Analysis of Algorithms
Data Structures and Algorithms
Review for Midterm Neil Tang 03/04/2010
CS302 Data Structures Fall 2012.
CS 3343: Analysis of Algorithms
CSE332: Data Abstractions About the Final
Design and Analysis of Algorithms (07 Credits / 4 hours per week)
CS 3343: Analysis of Algorithms
CS 3343: Analysis of Algorithms
CS 3343: Analysis of Algorithms
Objective of This Course
CS 3343: Analysis of Algorithms
CMPT 438 Algorithms Instructor: Tina Tian.
CS 3343: Analysis of Algorithms
INTRODUCTION TO ALOGORITHM DESIGN STRATEGIES
Department of Computer Science & Engineering
Design and Analysis of Algorithms (04 Credits / 4 hours per week)
Review for Final Neil Tang 05/01/2008
COMP 122 – Design and Analysis of Algorithms
Presentation transcript:

CS 3343: Analysis of Algorithms Review for final 11/13/2018

Final Exam Closed book exam Coverage: the whole semester Cheat sheet: you are allowed one letter-size sheet, both sides Tuesday, May 9, 9:45am – 12:15pm Basic calculator (no graphing) allowed No cell phones! 11/13/2018

Final Exam: Study Tips Study tips: Re-make your previous cheat sheets Study each lecture Study the homework and homework solutions Study the midterm exams Re-make your previous cheat sheets 11/13/2018

Topics covered (1) By reversed chronological order: Other topics Graph search & topological sort String matching P & NP Graph algorithms Representations MST (Prim’s, Kruskal’s) Shortest path (Dijkstra’s) Running time analysis with different implementations Greedy algorithm Uniform-profit restaurant location problem Fractional knapsack problem How to show that certain greedy choices are optimal Color key: Red: Absolutely need to know Blue: Ideally, you should know Grey: Possible extra credit question 11/13/2018

Topics covered (2) Dynamic programming Binary heap and priority queue LCS Restaurant location problem Shortest path problem on a grid Other problems Knapsack, event scheduling, coin changing, etc. How to define recurrence solution, and use dynamic programming to solve it Binary heap and priority queue Heapify, buildheap, insert, exatractMax, changeKey Running time and analysis 11/13/2018

Topics covered (3) Order statistics Sorting algorithms Rand-Select Worst-case Linear-time selection Running time Running time analysis using substitution method Expected running time analysis of probabilistic algorithm Sorting algorithms Insertion sort Merge sort Quick sort Heap sort Linear time sorting: counting sort, radix sort Stability of sorting algorithms Worst-case and expected running time Memory requirement of sorting algorithms Running time analysis of quick sort using substitution method 11/13/2018

Topics covered (4) Analysis Analyzing non-recursive algorithms Compare order of growth Prove asymptotic notation using basic definition Worst case and average case analysis Analyzing non-recursive algorithms Sum of arithmetic series Sum of geometric series Analyzing recursive algorithms Defining recurrence Solving recurrence Master theorem Recursion tree (iteration) method Substitution method 11/13/2018