This is CS50.cdn.cs50.net/2012/fall/lectures/6/week6m.pdf · In a room of n CS50 students, what’s...
12
This is CS50.
Transcript of This is CS50.cdn.cs50.net/2012/fall/lectures/6/week6m.pdf · In a room of n CS50 students, what’s...
![Page 1: This is CS50.cdn.cs50.net/2012/fall/lectures/6/week6m.pdf · In a room of n CS50 students, what’s the probability that at least 2 students have the same birthday?](https://reader034.fdocuments.net/reader034/viewer/2022050410/5f86c8f92d0f717b396444da/html5/thumbnails/1.jpg)
This is CS50.
![Page 2: This is CS50.cdn.cs50.net/2012/fall/lectures/6/week6m.pdf · In a room of n CS50 students, what’s the probability that at least 2 students have the same birthday?](https://reader034.fdocuments.net/reader034/viewer/2022050410/5f86c8f92d0f717b396444da/html5/thumbnails/2.jpg)
CS50 Checkcheck50 -‐c 2012/pset4/resize resize.c bmp.h
check50 -‐c 2012/pset4/recover recover.c
![Page 3: This is CS50.cdn.cs50.net/2012/fall/lectures/6/week6m.pdf · In a room of n CS50 students, what’s the probability that at least 2 students have the same birthday?](https://reader034.fdocuments.net/reader034/viewer/2022050410/5f86c8f92d0f717b396444da/html5/thumbnails/3.jpg)
CS50 Library
![Page 4: This is CS50.cdn.cs50.net/2012/fall/lectures/6/week6m.pdf · In a room of n CS50 students, what’s the probability that at least 2 students have the same birthday?](https://reader034.fdocuments.net/reader034/viewer/2022050410/5f86c8f92d0f717b396444da/html5/thumbnails/4.jpg)
![Page 5: This is CS50.cdn.cs50.net/2012/fall/lectures/6/week6m.pdf · In a room of n CS50 students, what’s the probability that at least 2 students have the same birthday?](https://reader034.fdocuments.net/reader034/viewer/2022050410/5f86c8f92d0f717b396444da/html5/thumbnails/5.jpg)
typedef struct node{ int n; struct node *next;}node;
![Page 6: This is CS50.cdn.cs50.net/2012/fall/lectures/6/week6m.pdf · In a room of n CS50 students, what’s the probability that at least 2 students have the same birthday?](https://reader034.fdocuments.net/reader034/viewer/2022050410/5f86c8f92d0f717b396444da/html5/thumbnails/6.jpg)
![Page 7: This is CS50.cdn.cs50.net/2012/fall/lectures/6/week6m.pdf · In a room of n CS50 students, what’s the probability that at least 2 students have the same birthday?](https://reader034.fdocuments.net/reader034/viewer/2022050410/5f86c8f92d0f717b396444da/html5/thumbnails/7.jpg)
typedef struct{ int numbers[CAPACITY]; int size;}stack;
![Page 8: This is CS50.cdn.cs50.net/2012/fall/lectures/6/week6m.pdf · In a room of n CS50 students, what’s the probability that at least 2 students have the same birthday?](https://reader034.fdocuments.net/reader034/viewer/2022050410/5f86c8f92d0f717b396444da/html5/thumbnails/8.jpg)
http://www.blogcdn.com/www.engadget.com/media/2008/05/iphone_line_1-1.jpg
![Page 9: This is CS50.cdn.cs50.net/2012/fall/lectures/6/week6m.pdf · In a room of n CS50 students, what’s the probability that at least 2 students have the same birthday?](https://reader034.fdocuments.net/reader034/viewer/2022050410/5f86c8f92d0f717b396444da/html5/thumbnails/9.jpg)
typedef struct{ int head; int numbers[CAPACITY]; int size;}queue;
![Page 10: This is CS50.cdn.cs50.net/2012/fall/lectures/6/week6m.pdf · In a room of n CS50 students, what’s the probability that at least 2 students have the same birthday?](https://reader034.fdocuments.net/reader034/viewer/2022050410/5f86c8f92d0f717b396444da/html5/thumbnails/10.jpg)
hash table
![Page 11: This is CS50.cdn.cs50.net/2012/fall/lectures/6/week6m.pdf · In a room of n CS50 students, what’s the probability that at least 2 students have the same birthday?](https://reader034.fdocuments.net/reader034/viewer/2022050410/5f86c8f92d0f717b396444da/html5/thumbnails/11.jpg)
In a room of n CS50 students, what’s the probability that at least 2 students have the
same birthday?
![Page 12: This is CS50.cdn.cs50.net/2012/fall/lectures/6/week6m.pdf · In a room of n CS50 students, what’s the probability that at least 2 students have the same birthday?](https://reader034.fdocuments.net/reader034/viewer/2022050410/5f86c8f92d0f717b396444da/html5/thumbnails/12.jpg)
to be continued...