Question: Consider your facebook photo album. Write code to represent the photo album. (only the private section). Use a circular doubly linked list to implement the

- Consider your facebook photo album. Write code to represent the photo album. (only the private section). Use a circular doubly linked list to implement the photo album. Assume that the photo album comprises of photos where each photo is an image file, a like integer, a string of comment, a link to the previous photo and a link to the next photo. Draw memory diagram of a PhotoAlbum (has a pointer to the first and last photos and a count variable to keep track of the number of photos) with three photos which is stored in memory in a doubly linked list structure. Assume the following: [10]
- The PhotoAlbum is created in memory location 0x123
- The three photos are in memory locations 0xBA, 0xCB, and 0xAF respectively
- Show the members of PhotoAlbum and each photo clearly
,-,-,- \,\N\'\) BANG &OLUFSEN 7 /vm/ / \/\/\ pg dn p9 up delete rt sc 7. Sider your facebook photo album Write code to represent the photo album. (only the private section). Use a circular doubly linked list to implement the photo album. Assume that the photo album comprises of "photos" where each "photor is an image file, a "like integer, a string of comment, a link to the previous photo and a link to the next photo. Draw memory diagram of a PhotoAlbum (has a pointer to the first and last photos and a count variable to keep track of the number of photos) with three photos which is stored in memory in a doubly linked list structure. Assume the following. [10] i. The PhotoAlbum is created in memory location Ox123 The three photos arc in memory locations OxBA, OxCB, and OxAF respectively Show the members of PhotoAlbum and cach photo clearly
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
