Gupshup.ai SSE Interview Experience
I appeared for the SSE interview process at Gupshup.ai, which mainly focused on problem-solving, system design, distributed systems, and some Agentic AI concepts.
DSA + System Design
The first round covered coding, my current role, and practical system design scenarios.
Q1. Minimum Window Substring
I was given two strings, s1 and s2, and asked to find the smallest substring of s1 containing all the characters of s2.
I first explained the brute-force approach, followed by the optimized sliding window approach. I also discussed the time and space complexity of both solutions.
One important constraint was that I had to write the code in Java only.
Q2. Design Questions Based on My Current Role
I was asked several design-related questions based on the work I was currently doing and the systems I had worked on.
Q3. Handling Large Databases and Traffic Surges
The interviewer asked how I would handle scenarios involving large database queries, data partitioning, and sudden spikes in traffic.
I discussed a few approaches, including:
Using overnight cron jobs for heavy background processing.
Introducing caching to reduce repeated database queries.
Using message queues to handle asynchronous workloads.
Applying rate limiting with Redis and ZooKeeper to control traffic.
Feedback: Positive.
Resume, System Design & Agentic AI Round
This round started with questions about my resume and previous work experience.
Most of the discussion revolved around system design, follow-up questions on my proposed solutions, and Agentic AI concepts.
Some of the topics covered were:
Basics of Agentic AI.
What is RAG and how does it work?
Handling distributed concurrency across multiple servers.
System Design Scenario: Handling Duplicate Requests Across Servers
I was given a scenario where two identical requests could reach two different servers at the same time. The interviewer asked how I would prevent duplicate processing.
I explained an approach using:
Deterministic unique key generation for incoming requests.
Redis-based distributed locking (Redlock) to control concurrent execution.
Storing the response against the generated key.
Returning the previously stored response if the same request arrived again.
I also explained how this approach helps achieve idempotency and prevents the same operation from being processed multiple times.
The round involved several follow-up questions around the design choices and how the solution would work in a distributed environment.
Recommended Reads
Cohesity MTS-3 Compensation
I recently received an offer from Cohesity for the MTS-3 role in Bengaluru. Sharing the compensation details here to get some feedback and help others who are e
Auxo AI AI Engineer Offer | ₹17.82 LPA CTC + Retention Bonus
Company: Auxo AI Role: AI Engineer College: Tier 1 Compensation Breakdown Fixed Salary: ₹15.5 LPA Variable Bonus: ₹2.32 LPA (15%) Reported CTC: ₹17.82 LPA Joini
Can You Crack Navi SDE-2? My Experience Across 5 Interview Rounds
I recently appeared for the SDE-2 interview process at Navi. There were 5 rounds in total. My first round was virtual, and I attended all the remaining rounds o
Be the first to add a comment.