Recently appeared for GreyOrange SDE3 interviews. Sharing questions for others preparing for backend/system design roles.
1. Design a backend data model for a social media platform supporting comments and comment likes at scale.
Requirements:
2. String parsing/compression problem
Examples:
a1b2c3
a11b2 -> 13
(Parse/decode/compress string with character-frequency handling and multi-digit counts.)
3. Sliding Window Problem
Given a string and a keyword, find the shortest substring containing all characters of the keyword.
Example:
Input:
ADOBECODEBANC
ABC
Output:
BANC
Length = 4
4. Design a data structure supporting:
All operations should work in O(1).
5. Production Deployment Scenario
During a critical production deployment, an issue occurs after release.
Explain:
1. Design an automated circular parking lot system
Requirements:
Multiple entry gates
RC scan at entry
Circular parking lot
Parking + exit operations
Billing:
Each level can support only 3 concurrent operations
Concurrency handling discussion
2. Design warehouse robot/task orchestration system
Topics discussed:
Could not clear the system design round, but overall discussion was interesting and focused heavily on concurrency, scalability, and real-world backend design.