Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

In a social media news feed, users are required to subscribe to the news feed be

ID: 3550908 • Letter: I

Question

In a social media news feed, users are required to subscribe to the news feed before receiving any news or updates.   Users can only subscribe to each news feed only once up to five (5) different feeds.  

Given your knowledge of linked-lists and arrays, determine which of the two complex types you will use to implement the solution (1) for tracking the number of subscribers within a media company and (2) for tracking the number of news feed a subscriber can subscribe to.   In your solution, explain.   (Identify the advantages and disadvantage for inserting, deleting, and searching through different complex types.  Use the above scenario to help you with your explanations.)


Explanation / Answer

1. Linked list - Hence Array are static in size, we have initate the size before. But no of subscribers will be more and dont know size. SO, in this case, Linked will be helpful than Arrays.


2. Arrays will be more helpful. Because max of 5 news feeds only a subscriber casn do. So, it better to go to Arrays. Data is small,size known and easy to use