DOC PREVIEW
MIT 6 006 - LECTURE NOTES

This preview shows page 1-2 out of 7 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

MIT OpenCourseWare http://ocw.mit.edu 6.006 Introduction to Algorithms Spring 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.6.006 Recitation Build 2008.2Outline • Introductions • Document Distance -- What It Is • Python CodeWhy Algorithms? • Pwn interviews • Keep your brain in shape • Build better systems • Save the worldWord from our Sponsors • Do not copy someone else’s code •Document Distance • Big Intimidating Mathy Metric • Comes down to • For each word W in both docs • Q = number of occurrences in doc 1 • R = number of occurrences in doc 2 • Sum up Q * RDaily Python: Lists • fruits = [‘cat’,‘window’,‘defenestration’] • fruits[1] • fruits[1] = ‘wall’ • fruits + [‘lawsuit’] • fruits.append(‘lawsuit’) •


View Full Document

MIT 6 006 - LECTURE NOTES

Documents in this Course
Quiz 1

Quiz 1

7 pages

Quiz 2

Quiz 2

12 pages

Quiz 2

Quiz 2

9 pages

Quiz 1

Quiz 1

10 pages

Quiz 2

Quiz 2

11 pages

Quiz 1

Quiz 1

12 pages

Graphs

Graphs

27 pages

Load more
Download LECTURE NOTES
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view LECTURE NOTES and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view LECTURE NOTES 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?