Stripe SDE Interview Question 2022 February | System Design (OOD & Heaps) | On-campus
Question · Posted Jun 2026
Question 1: Design Twitter Problem Statement 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. Implement the Twitter class: Twitter() Initializes your twitter object. void postTweet(int userId, int tweetId) Composes a new tweet with ID tweetId by the user userId. Each call to this function will be made with a unique tweetId. List<Integer> getNewsFeed(int userId) Retrieves the 10 most recent ...
The full answer & interview discussion are available to premium members.
Log in Create a free account