#355

Design Twitter

medium· Heap / Priority Queueruns: 0

Design a simplified Twitter where users can post tweets, follow and unfollow other users, and see the 10 most recent tweets in their news feed. Implement Twitter with postTweet, getNewsFeed, follow, and unfollow. The news feed contains the 10 most recent tweets from the user and the users they follow, most recent first.

sign in to paste and practice your own solution
desktop only

codedrill is a typing game and needs a real keyboard. open this on a laptop or desktop to practice.

you can still browse problems and sections from your phone.