How to make efficient algorithm that I can use to display posts for a user, similar to how Facebook does it
i’m working on a project that that will work similar to facebook, in my app i have a Posts Entity that a user can add. Those posts are available for other users on thier wall (a page where user can scroll posts).