SDE2 @ Groww Interview experience

groww logo
groww
· SDE II
April 21, 2026 · 1 reads

Summary

I interviewed for an SDE2 backend role at Groww, completed three technical rounds (DSA, machine coding, and system design) before being rejected at the final system design round.

Full Experience

Round1: DSA Round: 1 hr

I was given a problem from leetcode: https://leetcode.com/problems/distinct-subsequences/

Gave naive solution using recursion first, then optimised it by introducing memoization. Was asked about time complexity for both the approaches.

Round 2: Machine Coding Round: 1.5 hr

Started with intro, then straight to choice of your IDE, asked to design stock broker system which also handles the logic of order matching (buy and sell order), with support partial fulfillments.

Cleared this round, got call from HR next day to schedule next round.

Below are the points which were finalised:

We need to create stock broker application
Requirements:
-> Create user (portfolio)
-> Admin can add stock (we should have role management)
-> User can view portfolio, and remaining balance
-> User can add money to wallet
-> Users can buy and sell stock (We have to do order matching as well) -> FIFO order processing if multiple orders avl with same price, other wise best price
-> User can see datewise order history
-> The order should have a strict price band (for buying/selling any stock) -> +- 20%
-> Order can do partial matching, maintain history of each matching and record the qty matched.

EG: buying price >= selling price then only matching will happen

seller 1 -> 100 -> qty 10 / 2 seller 2 -> 105 -> qty 5

buyer 1 -> 102 -> qty 8

buyer 2 -> 106 -> 7 qty order -> 100 -> seller 1 sold 8 qty to buyer 1

Round 3: System design round, 1 hr

There were 2 person in panel, started with intro, was asked to design autosquare off system to reduce risk in intraday trading.

Below was the problem statement give:

You are building an Automated Intraday Risk Management Service for a stock trading platform. The platform receives continuous live price ticks for thousands of stocks, reaching up to millions of updates per second.
To manage risk, the platform needs to automatically "square off" (close) a user's intraday positions if the stock price moves by a specific percentage relative to the previous day closing price
Example Triggers:
Square off RELIANCE position if the price price reaches 118 and prev close is 100 and upper circuit is 120
When a percentage-based condition is satisfied, the system must execute a trade to exit the position.

Functional Requirements The Square-Off Service should support: Create Risk Rule Users or administrators can define square-off rules on stocks Real-Time Evaluation The system must continuously calculate the percentage change of live ticks against the reference price Automatic Execution When the percentage threshold is breached, the system must immediately send a "Sell" or "Cover" order to the exchange. Status Notification Notify the user via push notification or email once the position has been successfully closed.

Non-Functional Requirements Ultra-Low Latency The calculation and order execution must happen within milliseconds of the price tick arrival to avoid slippage. High Scale Support for 10M+ active positions across the user base. Handle a throughput of 1M+ price ticks per second. High Availability & Reliability The service must be "always-on" during market hours; missing a square-off could result in significant financial loss for the user. Strict Idempotency The system must ensure a position is squared off exactly once. It must not fire multiple exit orders for the same trigger. Fault Tolerance If a node fails, another must immediately take over the evaluation of those specific positions to ensure no risk rules are missed.

I gave a solution, but got confused in few things when having deep dives.

My Solution: https://excalidraw.com/#json=br87st9nXz8G38hFjsD5o,djncX0IoHHn6U5xCTfv7nw

Verdict

Rejected in System design round. (Last technical round)

Interview Questions (3)

1.

Distinct Subsequences

Data Structures & Algorithms·Hard

Given two strings S and T, count the number of distinct subsequences of S which equal T. A subsequence is a sequence that can be derived from the string by deleting some or no characters without changing the order of the remaining characters.

2.

Stock Broker System with Order Matching

System Design

Design a stock broker application that supports user portfolios, admin role management for adding stocks, wallet top‑up, buying and selling stocks with order matching, FIFO processing, partial fulfillment, price band limits (+‑20%), and date‑wise order history. The system must handle order matching where a buy order matches a sell order when buying price ≥ selling price, supporting partial matches and maintaining matching history.

3.

Automated Intraday Risk Management (Square‑Off) Service

System Design

Build a service that continuously processes live price ticks for thousands of stocks (up to millions of updates per second) and automatically squares off a user's intraday position when the price moves by a configured percentage relative to the previous day’s closing price. The service must support creating risk rules, real‑time percentage calculations, ultra‑low‑latency order execution, notifications, high scalability (10M+ active positions, 1M+ ticks/sec), high availability, idempotent execution, and fault tolerance.

📣 Found this helpful? Please share it with friends who are preparing for interviews!

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

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