1 / 31

Algorithm Design: Principles and Applications

Learn about algorithm design principles with real-world applications, understanding problem statements, implementation, analysis, and correctness. Join the discussion on Piazza.

nmeyer
Download Presentation

Algorithm Design: Principles and Applications

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lecture 2 CSE 331 Aug 30, 2017

  2. Enroll on Piazza https://piazza.com/buffalo/fall2017/cse331/

  3. Read the syllabus CAREFULLY! No graded material will be handed back till you submit a signed form!

  4. You can submit HW 0 + form now

  5. Autolab FAQ

  6. Allowed Sources

  7. … even for programming Q http://www-student.cse.buffalo.edu/~atri/cse331/fall17/policies/allowed-sources.html

  8. TA Office hours finalized today

  9. Questions/Comments?

  10. Let the fun begin!

  11. Who is Algorithm named after? Abū ‘Abd Allāh Muhammad ibn Mūsā al-Khwārizmī 9th century Persian astronomer/mathematician 825 AD: “On Calculation with Arabic Numerals” Latin translation 12th century “Algorithmi de numero Indorum”

  12. What are Algorithms?

  13. Don Knuth

  14. Don Knuth Reward Checks http://www.flickr.com/photos/32184482@N03/3010989157/

  15. Knuth’s Definition An algorithm is a finite, definitive, effective procedure with some input and some output

  16. Remember: Stick with your group

  17. Broadband access https://assets.bwbx.io/images/users/iqjWHBFdfxIU/iZSjibxE1KJs/v1/800x-1.jpg

  18. Erie county is reasonably good http://www.governing.com/gov-data/broadband-speeds-availability.html

  19. One county over http://www.governing.com/gov-data/broadband-speeds-availability.html

  20. Make broadband more available Say you are tasked to come up with the infrastructure

  21. Main Steps in Algorithm Design Problem Statement Real world problem Problem Definition Precise mathematical def Algorithm “Implementation” Data Structures Analysis Correctness/Run time

  22. Worst-case analysis Correctness should hold for every valid input Why worst-case? Resource usage by the worst-possible input What resources?

  23. Questions/Comments?

  24. National Resident Matching

  25. (Screen) Docs are coming to BUF Buffalo General Bailey (Grey’s Anatomy) Millard Filmore (Gates Circle) JD (Scrubs) Millard Filmore (Suburban)

  26. What can go wrong?

  27. The situation is unstable!

  28. What happens in real life Preferences Information Preferences

  29. NRMP plays matchmaker

  30. Stable Matching Problem David Gale Lloyd Shapley

More Related