Sunday, May 2, 2021

System design: Leetcode.com | Facebook | Google | Top System Design Interview Questions (Part 1)

 May 5, 2021

I like to highlight and make myself a better reader. 

Facebook | Google | Top System Design Interview Questions (Part 1)
256
Anonymous User

Hi Everyone, I have browsed through multiple websites like LeetCode, Blind, Glassdoor, CareerCup, etc. to find the most frequent system design interview questions.


Due to the sheer volume of content, I have summarized the top questions so that I can share them with a large audience and everyone can benefit from them 🙂


And, thanks to the LeetCode community for helping me prepare for the interviews. I hope this will help everyone in their interview prep.

This is my first LeetCode post on system design interviews. Link to my second LeetCode post on this topic - https://leetcode.com/discuss/interview-question/1042229/Facebook-or-Top-System-Design-Interview-Questions-(Part-2)

Design Facebook Status Search

Facebook provides a search bar at the top of its page to enable its users to search posts, statuses, videos, and other forms of content posted by their friends and the pages they follow. In this question,

  1. Develop a service to enable the users to search the statuses posted on Facebook by their friends and followed pages.
  2. Consider that these statuses will only contain text for this particular question.

Design Live Commenting

This question is not related to Live Videos. This question is related to the active real-time feed of comments at the bottom of each post. Thus, in this question,

  1. Design the backend of a system that can enable real-time commenting on Facebook posts.
  2. The users should be able to see the new comments in real-time for the posts visible in front of their screen.

Design Facebook News Feed

In the Design Facebook News Feed question, design the following key features and their APIs.

  1. Facebook users should see the news feed containing posts and statuses from their friends and pages that they have followed.
  2. They can post and like statuses that may contain text, images, and videos.
  3. They can send friend requests to other users and follow other pages.

Design Facebook Messenger or WhatsApp

Develop the backend of a messenger system that can,

  1. Support 1:1 conversations between two users.
  2. Track the online or offline status of the users.

If time remains, discuss more complex features like Group conversations and Push notifications.


Design Instagram

Design a simpler version of Instagram.

  1. Users can upload and share photos.
  2. They can follow other users.
  3. Like the photos posted on Instagram.
  4. Instagram users should get a scrollable feed of photos that are posted by the users they follow.

Learn more about the design goals, scale estimations, high-level design overview, and detailed architecture diagram of these problems in this video - https://youtu.be/hykjbT5Z0oE

Source: The article published on Dev.to: https://dev.to/theinterviewsage/top-facebook-system-design-interview-questions-31np

system designgoogledesignonsitefacebook system designfaangonsite-interviewfacebook interviewfacebook onsite roundfacebook

No comments:

Post a Comment