Ocrolus Interview Experience

Posted
12 Jan 2026
232 reads

Summary

This post details an interview experience with Ocrolus, focusing on a system design question to build a Twitter-like social media platform.

How it went

Round 1

Design a Twitter class that simulates a simplified version of a social media platform. Your implementation should support the following functionalities:

  1. Add a new User
    • Implement a method to register a new user
  2. Follow a User
    • Allow one user to follow another user
  3. Unfollow a User
    • Allow a user to unfollow another user they are already following
  4. Post a Tweet
    • Users should be able to post a tweet
  5. Get User Feed
    • Retrieve the 10 most recent tweets from the user and it's follower
    • Read latency should be good

Some followups on Kafka Streaming and Composite Indexing when to and when not to use it.

Questions asked (1)

  1. 01

    Design Twitter

    System Design

    Design a Twitter class that simulates a simplified version of a social media platform. Your implementation should support the following functionalities:

    1. Add a new User
      • Implement a method to register a new user
    2. Follow a User
      • Allow one user to follow another user
    3. Unfollow a User
      • Allow a user to unfollow another user they are already following
    4. Post a Tweet
      • Users should be able to post a tweet
    5. Get User Feed
      • Retrieve the 10 most recent tweets from the user and it's follower
      • Read latency should be good

    Some followups on Kafka Streaming and Composite Indexing when to and when not to use it.

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Ocrolus recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!