1 / 27

Lecture 2

Enroll on Piazza for CSE 331 lecture. Read the syllabus carefully and submit signed confirmation form. Autolab is up and running for HW 0 submission. TA office hours and makeup recitations finalized. Learn about algorithms and their design.

rballard
Download Presentation

Lecture 2

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 31, 2016

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

  3. Read the syllabus CAREFULLY! I’ll need confirmation in writing. No graded material will be handed back till I get this signed form from you!

  4. Autolab is up and working

  5. You can submit HW 0 now

  6. TA Office hours finalized today

  7. As well as makeup Mon recitations

  8. Questions/Comments?

  9. Let the fun begin!

  10. 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”

  11. What are Algorithms?

  12. Don Knuth

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

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

  15. Remember: Stick with your group

  16. From problem to software

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

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

  19. Questions/Comments?

  20. National Resident Matching

  21. (Screen) Docs are coming to BUF Buffalo General Hawkeye (M*A*S*H) Millard Filmore (Gates Circle) JD (Scrubs) Millard Filmore (Suburban)

  22. What can go wrong?

  23. The situation is unstable!

  24. What happens in real life Preferences Information Preferences

  25. NRMP plays matchmaker

  26. Stable Matching Problem David Gale Lloyd Shapley

More Related