Panda Guru LogoPanda
Guru

AngelOne | SDE 3 | LLD Round

LLD Round

Questions:

  1. Design a simplified version of Twitter where users can post tweets, follow/unfollow another user, and is able to see the 10 most recent tweets in the user's news feed. Aspects to cover:

    • APIs (Request/Response)
    • DB Schemas
  2. Implement the following in any IDE (https://leetcode.com/problems/design-twitter/description/):

    1. Twitter(): a constructor to initialize the Twitter object.
    2. postTweet(userId, tweetId): allows a user to post a tweet.
    3. getNewsFeed(userId): retrieves the 10 most recent tweets from the user and the users they follow.
    4. follow(followerId, followeeId): allows a user to follow another user.
    5. unfollow(followerId, followeeId): allows a user to unfollow another user.
Candidate's Approach

No approach provided.

Interviewer's Feedback

No feedback provided.